projects
/
platform
/
kernel
/
linux-starfive.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
2f14677
..
2f7b3af
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);