diff options
author | Jeff Layton <jlayton@kernel.org> | 2022-09-22 19:25:25 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-10-24 00:09:54 +0200 |
commit | 3aca47127a646165965ff52803e2b269eed91afc (patch) | |
tree | a41b2158f28659277a8d70c1e6a9aebe1bd96da3 | |
parent | Linux 6.1-rc1 (diff) | |
download | linux-3aca47127a646165965ff52803e2b269eed91afc.tar.xz linux-3aca47127a646165965ff52803e2b269eed91afc.zip |
fs: drop useless condition from inode_needs_update_time
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/inode.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/inode.c b/fs/inode.c index b608528efd3a..762feb8d0c6c 100644 --- 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; } |