jfs: remove increment of i_version counter
Subsystems (2)
PATCH 1/1 jfs: remove increment of i_version counter
From: Jeff Layton <[email protected]>
JFS does not set SB_I_VERSION and doesn't use the i_version counter internally. Just remove this increment.
Signed-off-by Jeff Layton <[email protected]>
--- fs/jfs/super.c | 1 - 1 file changed, 1 deletion(-)
fs/jfs/super.c +0 -1
@@ -853,7 +853,6 @@ static ssize_t jfs_quota_write(struct super_block *sb, int type, }if (inode->i_size < off+len-towrite)i_size_write (inode, off+len-towrite); - inode->i_version++; inode->i_mtime = inode->i_ctime =current_time (inode);mark_inode_dirty (inode);inode_unlock (inode);
Signature · 1 line
2.13.6
Quoted 4 lines · Jeff Layton
From: Jeff Layton <[email protected]>
JFS does not set
SB_I_VERSIONand doesn't use thei_versioncounter internally. Just remove this increment.
Looks good. I'll push it upstream.
Thanks,
Shaggy
Quoted 19 lines
Signed-off-by Jeff Layton <[email protected]>--- fs/jfs/super.c | 1 - 1 file changed, 1 deletion(-)fs/jfs/super.c +0
-1@@ -853,7 +853,6 @@ static ssize_t jfs_quota_write(struct super_block *sb, int type, }if (inode->i_size < off+len-towrite)i_size_write (inode, off+len-towrite); - inode->i_version++; inode->i_mtime = inode->i_ctime =current_time (inode);mark_inode_dirty (inode);inode_unlock (inode);