summaryrefslogtreecommitdiffstats
path: root/include/linux/file.h
diff options
context:
space:
mode:
authorPekka J Enberg <penberg@cs.Helsinki.FI>2005-11-07 00:58:01 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-07 07:53:24 -0800
commit2109a2d1b175dfcffbfdac693bdbe4c4ab62f11f (patch)
tree07b47953a74adaa7490ef24aab10c45a5a4148a6 /include/linux/file.h
parent4f12bb4f7715f418a9c80f89447948790f476958 (diff)
downloadlinux-2109a2d1b175dfcffbfdac693bdbe4c4ab62f11f.tar.gz
linux-2109a2d1b175dfcffbfdac693bdbe4c4ab62f11f.tar.bz2
linux-2109a2d1b175dfcffbfdac693bdbe4c4ab62f11f.zip
[PATCH] mm: rename kmem_cache_s to kmem_cache
This patch renames struct kmem_cache_s to kmem_cache so we can start using it instead of kmem_cache_t typedef. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/file.h')
-rw-r--r--include/linux/file.h6
1 files changed, 3 insertions, 3 deletions
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));
extern void put_filp(struct file *);
extern int get_unused_fd(void);
extern void FASTCALL(put_unused_fd(unsigned int fd));
-struct kmem_cache_s;
-extern void filp_ctor(void * objp, struct kmem_cache_s *cachep, unsigned long cflags);
-extern void filp_dtor(void * objp, struct kmem_cache_s *cachep, unsigned long dflags);
+struct kmem_cache;
+extern void filp_ctor(void * objp, struct kmem_cache *cachep, unsigned long cflags);
+extern void filp_dtor(void * objp, struct kmem_cache *cachep, unsigned long dflags);
extern struct file ** alloc_fd_array(int);
extern void free_fd_array(struct file **, int);