aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2017-11-17 15:29:50 -0800
committerLinus Torvalds <[email protected]>2017-11-17 16:10:03 -0800
commit577753cc57b19949b7ce0fc848c669d37e448c20 (patch)
tree79d0f0405460bd8a1f43dd0ce41b9e6cfd093908
parent3147db8938c7968b7be07f9b87510e334fe42ce1 (diff)
nilfs2: remove inode->i_version initialization
It's never used in nilfs2. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jeff Layton <[email protected]> Signed-off-by: Ryusuke Konishi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--fs/nilfs2/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c
index 4fc018dfcfae..3ce20cd44a20 100644
--- a/fs/nilfs2/super.c
+++ b/fs/nilfs2/super.c
@@ -160,7 +160,6 @@ struct inode *nilfs_alloc_inode(struct super_block *sb)
ii->i_bh = NULL;
ii->i_state = 0;
ii->i_cno = 0;
- ii->vfs_inode.i_version = 1;
nilfs_mapping_init(&ii->i_btnode_cache, &ii->vfs_inode);
return &ii->vfs_inode;
}