summaryrefslogtreecommitdiff
path: root/include/linux/file.h
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2006-12-07 07:32:50 +0300
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 19:39:22 +0300
commit5d6538fcf231faccb2ac42f92851d259d00e62f9 (patch)
tree6ccf2d0755d32d5049d365a7f30c13240030585f /include/linux/file.h
parentc43692e85f306667545b91194c748a6e46c1f8b4 (diff)
downloadlinux-5d6538fcf231faccb2ac42f92851d259d00e62f9.tar.xz
[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>
Diffstat (limited to 'include/linux/file.h')
-rw-r--r--include/linux/file.h2
1 files changed, 2 insertions, 0 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 *);
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 */