summaryrefslogtreecommitdiffstats
path: root/include/linux/file.h
diff options
context:
space:
mode:
authorChristoph Lameter2006-12-07 05:32:52 +0100
committerLinus Torvalds2006-12-07 17:39:23 +0100
commit8b7d91eb7f6a3e8f0caaa613937bda5ab7dc7dc2 (patch)
tree8036dc7f0c05ec2712acfed92589bd41ed5766f9 /include/linux/file.h
parent[PATCH] Move files_cachep to include/file.h (diff)
downloadkernel-qcow2-linux-8b7d91eb7f6a3e8f0caaa613937bda5ab7dc7dc2.tar.gz
kernel-qcow2-linux-8b7d91eb7f6a3e8f0caaa613937bda5ab7dc7dc2.tar.xz
kernel-qcow2-linux-8b7d91eb7f6a3e8f0caaa613937bda5ab7dc7dc2.zip
[PATCH] Move filep_cachep to include/file.h
filp_cachep is only used in fs/file_table.c and in fs/dcache.c where it is defined. Move it to related definitions in linux/file.h. 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 be37423e9920..6e77b9177f9e 100644
--- a/include/linux/file.h
+++ b/include/linux/file.h
@@ -64,6 +64,8 @@ struct files_struct {
#define files_fdtable(files) (rcu_dereference((files)->fdt))
+extern struct kmem_cache *filp_cachep;
+
extern void FASTCALL(__fput(struct file *));
extern void FASTCALL(fput(struct file *));