From: Jeff Layton Date: Mon, 30 Oct 2017 15:20:15 +0000 (-0400) Subject: reiserfs: remove unneeded i_version bump X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9a447435afabf52b16d1295d0f18bef5ab3abb65;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git reiserfs: remove unneeded i_version bump [ Upstream commit 9f97df50c52c2887432debb6238f4e43567386a5 ] 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 Signed-off-by: Jan Kara Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- 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;