aboutsummaryrefslogtreecommitdiffstats
path: root/fs/romfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/romfs/inode.c')
-rw-r--r--fs/romfs/inode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/romfs/inode.c b/fs/romfs/inode.c
index 223bebb8b45e..c2fc424d7d5c 100644
--- a/fs/romfs/inode.c
+++ b/fs/romfs/inode.c
@@ -579,7 +579,8 @@ static int init_inodecache(void)
579{ 579{
580 romfs_inode_cachep = kmem_cache_create("romfs_inode_cache", 580 romfs_inode_cachep = kmem_cache_create("romfs_inode_cache",
581 sizeof(struct romfs_inode_info), 581 sizeof(struct romfs_inode_info),
582 0, SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, 582 0, (SLAB_RECLAIM_ACCOUNT|
583 SLAB_MEM_SPREAD),
583 init_once, NULL); 584 init_once, NULL);
584 if (romfs_inode_cachep == NULL) 585 if (romfs_inode_cachep == NULL)
585 return -ENOMEM; 586 return -ENOMEM;