From 5d6538fcf231faccb2ac42f92851d259d00e62f9 Mon Sep 17 00:00:00 2001
From: Christoph Lameter <clameter@sgi.com>
Date: Wed, 6 Dec 2006 20:32:50 -0800
Subject: [PATCH] [PATCH] Move files_cachep to include/file.h

Proper place is in file.h since files_cachep uses are rated to file I/O.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
---
 include/linux/file.h | 2 ++
 include/linux/slab.h | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

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 *);
 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 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)
 
 /* 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;
 
-- 
2.20.1