summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/freevxfs/vxfs_super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/freevxfs/vxfs_super.c b/fs/freevxfs/vxfs_super.c
index e5eef1400d67..455ce5b77e9b 100644
--- a/fs/freevxfs/vxfs_super.c
+++ b/fs/freevxfs/vxfs_super.c
@@ -127,6 +127,7 @@ static struct inode *vxfs_alloc_inode(struct super_block *sb)
vi = kmem_cache_alloc(vxfs_inode_cachep, GFP_KERNEL);
if (!vi)
return NULL;
+ inode_init_once(&vi->vfs_inode);
return &vi->vfs_inode;
}