diff options
-rw-r--r-- | Documentation/magic-number.txt | 2 | ||||
-rw-r--r-- | fs/file_table.c | 4 | ||||
-rw-r--r-- | fs/freevxfs/vxfs_extern.h | 4 | ||||
-rw-r--r-- | fs/xfs/linux-2.6/kmem.h | 4 | ||||
-rw-r--r-- | include/linux/file.h | 6 | ||||
-rw-r--r-- | include/linux/slab.h | 2 | ||||
-rw-r--r-- | mm/slab.c | 2 |
7 files changed, 12 insertions, 12 deletions
diff --git a/Documentation/magic-number.txt b/Documentation/magic-number.txt index bd8eefa17587..af67faccf4de 100644 --- a/Documentation/magic-number.txt +++ b/Documentation/magic-number.txt | |||
@@ -120,7 +120,7 @@ ISDN_NET_MAGIC 0x49344C02 isdn_net_local_s drivers/isdn/i4l/isdn_net_li | |||
120 | SAVEKMSG_MAGIC2 0x4B4D5347 savekmsg arch/*/amiga/config.c | 120 | SAVEKMSG_MAGIC2 0x4B4D5347 savekmsg arch/*/amiga/config.c |
121 | STLI_BOARDMAGIC 0x4bc6c825 stlibrd include/linux/istallion.h | 121 | STLI_BOARDMAGIC 0x4bc6c825 stlibrd include/linux/istallion.h |
122 | CS_STATE_MAGIC 0x4c4f4749 cs_state sound/oss/cs46xx.c | 122 | CS_STATE_MAGIC 0x4c4f4749 cs_state sound/oss/cs46xx.c |
123 | SLAB_C_MAGIC 0x4f17a36d kmem_cache_s mm/slab.c | 123 | SLAB_C_MAGIC 0x4f17a36d kmem_cache mm/slab.c |
124 | COW_MAGIC 0x4f4f4f4d cow_header_v1 arch/um/drivers/ubd_user.c | 124 | COW_MAGIC 0x4f4f4f4d cow_header_v1 arch/um/drivers/ubd_user.c |
125 | I810_CARD_MAGIC 0x5072696E i810_card sound/oss/i810_audio.c | 125 | I810_CARD_MAGIC 0x5072696E i810_card sound/oss/i810_audio.c |
126 | TRIDENT_CARD_MAGIC 0x5072696E trident_card sound/oss/trident.c | 126 | TRIDENT_CARD_MAGIC 0x5072696E trident_card sound/oss/trident.c |
diff --git a/fs/file_table.c b/fs/file_table.c index 4dc205546547..c3a5e2fd663b 100644 --- a/fs/file_table.c +++ b/fs/file_table.c | |||
@@ -35,7 +35,7 @@ static DEFINE_SPINLOCK(filp_count_lock); | |||
35 | * context and must be fully threaded - use a local spinlock | 35 | * context and must be fully threaded - use a local spinlock |
36 | * to protect files_stat.nr_files | 36 | * to protect files_stat.nr_files |
37 | */ | 37 | */ |
38 | void filp_ctor(void * objp, struct kmem_cache_s *cachep, unsigned long cflags) | 38 | void filp_ctor(void *objp, struct kmem_cache *cachep, unsigned long cflags) |
39 | { | 39 | { |
40 | if ((cflags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == | 40 | if ((cflags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == |
41 | SLAB_CTOR_CONSTRUCTOR) { | 41 | SLAB_CTOR_CONSTRUCTOR) { |
@@ -46,7 +46,7 @@ void filp_ctor(void * objp, struct kmem_cache_s *cachep, unsigned long cflags) | |||
46 | } | 46 | } |
47 | } | 47 | } |
48 | 48 | ||
49 | void filp_dtor(void * objp, struct kmem_cache_s *cachep, unsigned long dflags) | 49 | void filp_dtor(void *objp, struct kmem_cache *cachep, unsigned long dflags) |
50 | { | 50 | { |
51 | unsigned long flags; | 51 | unsigned long flags; |
52 | spin_lock_irqsave(&filp_count_lock, flags); | 52 | spin_lock_irqsave(&filp_count_lock, flags); |
diff --git a/fs/freevxfs/vxfs_extern.h b/fs/freevxfs/vxfs_extern.h index d8be917f9797..927acf70c591 100644 --- a/fs/freevxfs/vxfs_extern.h +++ b/fs/freevxfs/vxfs_extern.h | |||
@@ -38,7 +38,7 @@ | |||
38 | */ | 38 | */ |
39 | 39 | ||
40 | 40 | ||
41 | struct kmem_cache_s; | 41 | struct kmem_cache; |
42 | struct super_block; | 42 | struct super_block; |
43 | struct vxfs_inode_info; | 43 | struct vxfs_inode_info; |
44 | struct inode; | 44 | struct inode; |
@@ -51,7 +51,7 @@ extern daddr_t vxfs_bmap1(struct inode *, long); | |||
51 | extern int vxfs_read_fshead(struct super_block *); | 51 | extern int vxfs_read_fshead(struct super_block *); |
52 | 52 | ||
53 | /* vxfs_inode.c */ | 53 | /* vxfs_inode.c */ |
54 | extern struct kmem_cache_s *vxfs_inode_cachep; | 54 | extern struct kmem_cache *vxfs_inode_cachep; |
55 | extern void vxfs_dumpi(struct vxfs_inode_info *, ino_t); | 55 | extern void vxfs_dumpi(struct vxfs_inode_info *, ino_t); |
56 | extern struct inode * vxfs_get_fake_inode(struct super_block *, | 56 | extern struct inode * vxfs_get_fake_inode(struct super_block *, |
57 | struct vxfs_inode_info *); | 57 | struct vxfs_inode_info *); |
diff --git a/fs/xfs/linux-2.6/kmem.h b/fs/xfs/linux-2.6/kmem.h index 8f82c1a20dc5..c64a29cdfff3 100644 --- a/fs/xfs/linux-2.6/kmem.h +++ b/fs/xfs/linux-2.6/kmem.h | |||
@@ -30,8 +30,8 @@ | |||
30 | #define KM_NOFS 0x0004u | 30 | #define KM_NOFS 0x0004u |
31 | #define KM_MAYFAIL 0x0008u | 31 | #define KM_MAYFAIL 0x0008u |
32 | 32 | ||
33 | #define kmem_zone kmem_cache_s | 33 | #define kmem_zone kmem_cache |
34 | #define kmem_zone_t kmem_cache_t | 34 | #define kmem_zone_t struct kmem_cache |
35 | 35 | ||
36 | typedef unsigned long xfs_pflags_t; | 36 | typedef unsigned long xfs_pflags_t; |
37 | 37 | ||
diff --git a/include/linux/file.h b/include/linux/file.h index f5bbd4c508b3..d3b1a15d5f21 100644 --- a/include/linux/file.h +++ b/include/linux/file.h | |||
@@ -59,9 +59,9 @@ extern void FASTCALL(set_close_on_exec(unsigned int fd, int flag)); | |||
59 | extern void put_filp(struct file *); | 59 | extern void put_filp(struct file *); |
60 | extern int get_unused_fd(void); | 60 | extern int get_unused_fd(void); |
61 | extern void FASTCALL(put_unused_fd(unsigned int fd)); | 61 | extern void FASTCALL(put_unused_fd(unsigned int fd)); |
62 | struct kmem_cache_s; | 62 | struct kmem_cache; |
63 | extern void filp_ctor(void * objp, struct kmem_cache_s *cachep, unsigned long cflags); | 63 | extern void filp_ctor(void * objp, struct kmem_cache *cachep, unsigned long cflags); |
64 | extern void filp_dtor(void * objp, struct kmem_cache_s *cachep, unsigned long dflags); | 64 | extern void filp_dtor(void * objp, struct kmem_cache *cachep, unsigned long dflags); |
65 | 65 | ||
66 | extern struct file ** alloc_fd_array(int); | 66 | extern struct file ** alloc_fd_array(int); |
67 | extern void free_fd_array(struct file **, int); | 67 | extern void free_fd_array(struct file **, int); |
diff --git a/include/linux/slab.h b/include/linux/slab.h index 09b9aa60063d..d1ea4051b996 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h | |||
@@ -9,7 +9,7 @@ | |||
9 | 9 | ||
10 | #if defined(__KERNEL__) | 10 | #if defined(__KERNEL__) |
11 | 11 | ||
12 | typedef struct kmem_cache_s kmem_cache_t; | 12 | typedef struct kmem_cache kmem_cache_t; |
13 | 13 | ||
14 | #include <linux/config.h> /* kmalloc_sizes.h needs CONFIG_ options */ | 14 | #include <linux/config.h> /* kmalloc_sizes.h needs CONFIG_ options */ |
15 | #include <linux/gfp.h> | 15 | #include <linux/gfp.h> |
@@ -368,7 +368,7 @@ static inline void kmem_list3_init(struct kmem_list3 *parent) | |||
368 | * manages a cache. | 368 | * manages a cache. |
369 | */ | 369 | */ |
370 | 370 | ||
371 | struct kmem_cache_s { | 371 | struct kmem_cache { |
372 | /* 1) per-cpu data, touched during every alloc/free */ | 372 | /* 1) per-cpu data, touched during every alloc/free */ |
373 | struct array_cache *array[NR_CPUS]; | 373 | struct array_cache *array[NR_CPUS]; |
374 | unsigned int batchcount; | 374 | unsigned int batchcount; |