aboutsummaryrefslogtreecommitdiffstats
path: root/fs/minix/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/minix/inode.c')
-rw-r--r--fs/minix/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/minix/inode.c b/fs/minix/inode.c
index be4044614ac8..43668d7d668f 100644
--- a/fs/minix/inode.c
+++ b/fs/minix/inode.c
@@ -75,14 +75,14 @@ static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flag
75 75
76 inode_init_once(&ei->vfs_inode); 76 inode_init_once(&ei->vfs_inode);
77} 77}
78 78
79static int init_inodecache(void) 79static int init_inodecache(void)
80{ 80{
81 minix_inode_cachep = kmem_cache_create("minix_inode_cache", 81 minix_inode_cachep = kmem_cache_create("minix_inode_cache",
82 sizeof(struct minix_inode_info), 82 sizeof(struct minix_inode_info),
83 0, (SLAB_RECLAIM_ACCOUNT| 83 0, (SLAB_RECLAIM_ACCOUNT|
84 SLAB_MEM_SPREAD), 84 SLAB_MEM_SPREAD),
85 init_once, NULL); 85 init_once);
86 if (minix_inode_cachep == NULL) 86 if (minix_inode_cachep == NULL)
87 return -ENOMEM; 87 return -ENOMEM;
88 return 0; 88 return 0;