projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b39ab98
)
jfs: remove increment of i_version counter
author
Jeff Layton
<jlayton@redhat.com>
Mon, 30 Oct 2017 15:16:07 +0000
(11:16 -0400)
committer
Dave Kleikamp
<dave.kleikamp@oracle.com>
Mon, 30 Oct 2017 22:34:52 +0000
(17:34 -0500)
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>
fs/jfs/super.c
patch
|
blob
|
history
diff --git
a/fs/jfs/super.c
b/fs/jfs/super.c
index 2f14677169c374b7b0dfaedf6e4027464d42916d..2f7b3af5b8b7aa9fef38db0c464f5a4d013aff7b 100644
(file)
--- 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);