summaryrefslogtreecommitdiffstats
path: root/fs/timerfd.c
diff options
context:
space:
mode:
authorJiachen Zhang <zhangjiachen.jaycee@bytedance.com>2023-06-08 16:46:09 +0800
committerMiklos Szeredi <mszeredi@redhat.com>2024-03-06 09:56:54 +0100
commit8a5fb186431326886ccc7b71d40aaf5e53b5d91a (patch)
tree7c3d8c139a2f1e45eb010d78f13f699c896c94da /fs/timerfd.c
parent2e3f7dd08d70eca86a8cc9b4baf3da77c032d5fc (diff)
downloadlinux-stable-8a5fb186431326886ccc7b71d40aaf5e53b5d91a.tar.gz
linux-stable-8a5fb186431326886ccc7b71d40aaf5e53b5d91a.tar.bz2
linux-stable-8a5fb186431326886ccc7b71d40aaf5e53b5d91a.zip
fuse: remove an unnecessary if statement
FUSE remote locking code paths never add any locking state to inode->i_flctx, so the locks_remove_posix() function called on file close will return without calling fuse_setlk(). Therefore, as the if statement to be removed in this commit will always be false, remove it for clearness. Signed-off-by: Jiachen Zhang <zhangjiachen.jaycee@bytedance.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/timerfd.c')
0 files changed, 0 insertions, 0 deletions