summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-11-17 15:29:50 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-11-17 16:10:03 -0800
commit577753cc57b19949b7ce0fc848c669d37e448c20 (patch)
tree79d0f0405460bd8a1f43dd0ce41b9e6cfd093908 /fs/nilfs2
parent3147db8938c7968b7be07f9b87510e334fe42ce1 (diff)
downloadlinux-stable-577753cc57b19949b7ce0fc848c669d37e448c20.tar.gz
linux-stable-577753cc57b19949b7ce0fc848c669d37e448c20.tar.bz2
linux-stable-577753cc57b19949b7ce0fc848c669d37e448c20.zip
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>
Diffstat (limited to 'fs/nilfs2')
-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;
}