2017-11-07 23:06:54

by Ryusuke Konishi

[permalink] [raw]
Subject: [PATCH 1/1] nilfs2: remove inode->i_version initialization

From: Jeff Layton <[email protected]>

It's never used in nilfs2.

Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Ryusuke Konishi <[email protected]>
---
fs/nilfs2/super.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c
index 4fc018d..3ce20cd 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;
}
--
1.8.3.1


From 1583423962485478771@xxx Tue Nov 07 16:06:05 +0000 2017
X-GM-THRID: 1583358244297267333
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread