aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/file.h2
-rw-r--r--include/linux/slab.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/file.h b/include/linux/file.h
index 74183e6..be37423 100644
--- a/include/linux/file.h
+++ b/include/linux/file.h
@@ -114,4 +114,6 @@ struct files_struct *get_files_struct(struct task_struct *);
void FASTCALL(put_files_struct(struct files_struct *fs));
void reset_files_struct(struct task_struct *, struct files_struct *);
+extern struct kmem_cache *files_cachep;
+
#endif /* __LINUX_FILE_H */
diff --git a/include/linux/slab.h b/include/linux/slab.h
index a30a402..dd9efec 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)
/* System wide caches */
extern kmem_cache_t *names_cachep;
-extern kmem_cache_t *files_cachep;
extern kmem_cache_t *filp_cachep;
extern kmem_cache_t *fs_cachep;