diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-11-17 18:29:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-17 19:10:03 -0500 |
commit | 577753cc57b19949b7ce0fc848c669d37e448c20 (patch) | |
tree | 79d0f0405460bd8a1f43dd0ce41b9e6cfd093908 | |
parent | 3147db8938c7968b7be07f9b87510e334fe42ce1 (diff) |
nilfs2: remove inode->i_version initialization
It's never used in nilfs2.
Link: http://lkml.kernel.org/r/1510064486-1728-2-git-send-email-konishi.ryusuke@lab.ntt.co.jp
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | fs/nilfs2/super.c | 1 |
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) | |||
160 | ii->i_bh = NULL; | 160 | ii->i_bh = NULL; |
161 | ii->i_state = 0; | 161 | ii->i_state = 0; |
162 | ii->i_cno = 0; | 162 | ii->i_cno = 0; |
163 | ii->vfs_inode.i_version = 1; | ||
164 | nilfs_mapping_init(&ii->i_btnode_cache, &ii->vfs_inode); | 163 | nilfs_mapping_init(&ii->i_btnode_cache, &ii->vfs_inode); |
165 | return &ii->vfs_inode; | 164 | return &ii->vfs_inode; |
166 | } | 165 | } |