diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-12-10 09:35:45 -0800 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-12-31 18:07:42 -0500 |
commit | b6b3fdead251d432f32f2cfce2a893ab8a658110 (patch) | |
tree | 358885c529fd14d0cc404a454088329533db379e /include/linux/fdtable.h | |
parent | fd659fd6275d3426d7967da1f0e3638bbbd2fedb (diff) | |
download | kernel_samsung_aries-b6b3fdead251d432f32f2cfce2a893ab8a658110.zip kernel_samsung_aries-b6b3fdead251d432f32f2cfce2a893ab8a658110.tar.gz kernel_samsung_aries-b6b3fdead251d432f32f2cfce2a893ab8a658110.tar.bz2 |
filp_cachep can be static in fs/file_table.c
Instead of creating the "filp" kmem_cache in vfs_caches_init(),
we can do it a litle be later in files_init(), so that filp_cachep
is static to fs/file_table.c
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fdtable.h')
-rw-r--r-- | include/linux/fdtable.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/fdtable.h b/include/linux/fdtable.h index 4aab6f1..09d6c5b 100644 --- a/include/linux/fdtable.h +++ b/include/linux/fdtable.h @@ -57,8 +57,6 @@ struct files_struct { #define files_fdtable(files) (rcu_dereference((files)->fdt)) -extern struct kmem_cache *filp_cachep; - struct file_operations; struct vfsmount; struct dentry; |