summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-10-30 11:20:15 -0400
committerJan Kara <jack@suse.cz>2017-11-27 17:31:07 +0100
commit9f97df50c52c2887432debb6238f4e43567386a5 (patch)
tree1de72cf65d7063376f2fe1a7ac0c5016b1580cc2 /fs
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
downloadtalos-op-linux-9f97df50c52c2887432debb6238f4e43567386a5.tar.gz
talos-op-linux-9f97df50c52c2887432debb6238f4e43567386a5.zip
reiserfs: remove unneeded i_version bump
The i_version field in reiserfs is not initialized and is only ever updated here. Nothing ever views it, so just remove it. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs')
-rw-r--r--fs/reiserfs/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c
index 5464ec517702..4885c7b6e44f 100644
--- a/fs/reiserfs/super.c
+++ b/fs/reiserfs/super.c
@@ -2591,7 +2591,6 @@ out:
return err;
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);
return len - towrite;
OpenPOWER on IntegriCloud