diff options
-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 74183e6f7f45..be37423e9920 100644 --- a/include/linux/file.h +++ b/include/linux/file.h | |||
@@ -114,4 +114,6 @@ struct files_struct *get_files_struct(struct task_struct *); | |||
114 | void FASTCALL(put_files_struct(struct files_struct *fs)); | 114 | void FASTCALL(put_files_struct(struct files_struct *fs)); |
115 | void reset_files_struct(struct task_struct *, struct files_struct *); | 115 | void reset_files_struct(struct task_struct *, struct files_struct *); |
116 | 116 | ||
117 | extern struct kmem_cache *files_cachep; | ||
118 | |||
117 | #endif /* __LINUX_FILE_H */ | 119 | #endif /* __LINUX_FILE_H */ |
diff --git a/include/linux/slab.h b/include/linux/slab.h index a30a4028a92e..dd9efecff410 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 *files_cachep; | ||
314 | extern kmem_cache_t *filp_cachep; | 313 | extern kmem_cache_t *filp_cachep; |
315 | extern kmem_cache_t *fs_cachep; | 314 | extern kmem_cache_t *fs_cachep; |
316 | 315 | ||