mirror of
https://github.com/torvalds/linux
synced 2024-09-30 00:10:51 +00:00
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>
This commit is contained in:
parent
9abf2313ad
commit
3aca47127a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue