summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-10-30 18:16:07 +0300
committerDave Kleikamp <dave.kleikamp@oracle.com>2017-10-31 01:34:52 +0300
commit04d73f86e35d41410ec55242b90330ec23dfe2b0 (patch)
tree8d7300cd929ee368f2ed9df6c9ffa08a9e0445be /fs
parentb39ab98e2f4728d98973fd1bc531e3c4cbccb21c (diff)
downloadlinux-04d73f86e35d41410ec55242b90330ec23dfe2b0.tar.xz
jfs: remove increment of i_version counter
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 <jlayton@redhat.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/jfs/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/jfs/super.c b/fs/jfs/super.c
index 2f14677169c3..2f7b3af5b8b7 100644
--- a/fs/jfs/super.c
+++ b/fs/jfs/super.c
@@ -853,7 +853,6 @@ out:
}
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);