]> git.baikalelectronics.ru Git - kernel.git/commitdiff
nilfs2: remove inode->i_version initialization
authorJeff Layton <jlayton@redhat.com>
Fri, 17 Nov 2017 23:29:50 +0000 (15:29 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Nov 2017 00:10:03 +0000 (16:10 -0800)
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>
fs/nilfs2/super.c

index 4fc018dfcfae354b598d2a547b96adf1ae1c76c0..3ce20cd44a20960b6487570478570ee453d59b4e 100644 (file)
@@ -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;
 }