projects
/
linux.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 b608528efd3a463d885a7c1205575cf4409ce497..762feb8d0c6c3dbaa79c0bfca9316e499ce3e372 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;
}