aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/dcache.c')
-rw-r--r--fs/dcache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index 7da0cf50873e..920c87720385 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -2108,7 +2108,7 @@ static void __init dcache_init_early(void)
2108 INIT_HLIST_HEAD(&dentry_hashtable[loop]); 2108 INIT_HLIST_HEAD(&dentry_hashtable[loop]);
2109} 2109}
2110 2110
2111static void __init dcache_init(unsigned long mempages) 2111static void __init dcache_init(void)
2112{ 2112{
2113 int loop; 2113 int loop;
2114 2114
@@ -2170,10 +2170,10 @@ void __init vfs_caches_init(unsigned long mempages)
2170 filp_cachep = kmem_cache_create("filp", sizeof(struct file), 0, 2170 filp_cachep = kmem_cache_create("filp", sizeof(struct file), 0,
2171 SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL); 2171 SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL);
2172 2172
2173 dcache_init(mempages); 2173 dcache_init();
2174 inode_init(mempages); 2174 inode_init();
2175 files_init(mempages); 2175 files_init(mempages);
2176 mnt_init(mempages); 2176 mnt_init();
2177 bdev_cache_init(); 2177 bdev_cache_init();
2178 chrdev_init(); 2178 chrdev_init();
2179} 2179}