Skip to contentSkip to conversation

nilfs2: remove inode->i_version initialization

PATCH Applied Jeff Layton 2 participants 2 messages Oct 30, 2017 – Oct 31, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nilfs2: remove inode->i_version initialization

From: Jeff Layton <[email protected]>

It's never used in nilfs2.

---
 fs/nilfs2/super.c | 1 -
 1 file changed, 1 deletion(-)
fs/nilfs2/super.c +0 -1
index 4fc018dfcfae..3ce20cd44a20 100644
@@ -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;
 }
Signature · 1 line
2.13.6
#1 lore raw
Quoted 6 lines · Jeff Layton

From: Jeff Layton <[email protected]>

It's never used in nilfs2.

---

Applied, thank you.

Ryusuke Konishi

Quoted 22 lines
 fs/nilfs2/super.c | 1 -
 1 file changed, 1 deletion(-)
fs/nilfs2/super.c +0 -1
index 4fc018dfcfae..3ce20cd44a20 100644
@@ -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;
 }
Signature · 6 lines
2.13.6

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html