diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/file.h | 2 | ||||
-rw-r--r-- | include/linux/slab.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/file.h b/include/linux/file.h index be37423e9920..6e77b9177f9e 100644 --- a/include/linux/file.h +++ b/include/linux/file.h | |||
@@ -64,6 +64,8 @@ struct files_struct { | |||
64 | 64 | ||
65 | #define files_fdtable(files) (rcu_dereference((files)->fdt)) | 65 | #define files_fdtable(files) (rcu_dereference((files)->fdt)) |
66 | 66 | ||
67 | extern struct kmem_cache *filp_cachep; | ||
68 | |||
67 | extern void FASTCALL(__fput(struct file *)); | 69 | extern void FASTCALL(__fput(struct file *)); |
68 | extern void FASTCALL(fput(struct file *)); | 70 | extern void FASTCALL(fput(struct file *)); |
69 | 71 | ||
diff --git a/include/linux/slab.h b/include/linux/slab.h index dd9efecff410..f9202d60d769 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h | |||
@@ -310,7 +310,6 @@ static inline void *kcalloc(size_t n, size_t size, gfp_t flags) | |||
310 | 310 | ||
311 | /* System wide caches */ | 311 | /* System wide caches */ |
312 | extern kmem_cache_t *names_cachep; | 312 | extern kmem_cache_t *names_cachep; |
313 | extern kmem_cache_t *filp_cachep; | ||
314 | extern kmem_cache_t *fs_cachep; | 313 | extern kmem_cache_t *fs_cachep; |
315 | 314 | ||
316 | #endif /* __KERNEL__ */ | 315 | #endif /* __KERNEL__ */ |