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:
9abf231
)
fs: drop useless condition from inode_needs_update_time
author
Jeff Layton
<jlayton@kernel.org>
Thu, 22 Sep 2022 17:25:25 +0000
(13:25 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 23 Oct 2022 22:09:54 +0000
(18:09 -0400)
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/inode.c
patch
|
blob
|
history
diff --git
a/fs/inode.c
b/fs/inode.c
index
b608528
..
762feb8
100644
(file)
--- a/
fs/inode.c
+++ b/
fs/inode.c
@@
-2071,9
+2071,6
@@
static int inode_needs_update_time(struct inode *inode, struct timespec64 *now)
if (IS_I_VERSION(inode) && inode_iversion_need_inc(inode))
sync_it |= S_VERSION;
- if (!sync_it)
- return 0;
-
return sync_it;
}