aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nilfs2/super.c')
-rw-r--r--fs/nilfs2/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c
index 51576b4dbf7a..f3a00a3b2a03 100644
--- a/fs/nilfs2/super.c
+++ b/fs/nilfs2/super.c
@@ -155,6 +155,7 @@ struct inode *nilfs_alloc_inode_common(struct the_nilfs *nilfs)
155 return NULL; 155 return NULL;
156 ii->i_bh = NULL; 156 ii->i_bh = NULL;
157 ii->i_state = 0; 157 ii->i_state = 0;
158 ii->i_cno = 0;
158 ii->vfs_inode.i_version = 1; 159 ii->vfs_inode.i_version = 1;
159 nilfs_btnode_cache_init(&ii->i_btnode_cache, nilfs->ns_bdi); 160 nilfs_btnode_cache_init(&ii->i_btnode_cache, nilfs->ns_bdi);
160 return &ii->vfs_inode; 161 return &ii->vfs_inode;