summaryrefslogtreecommitdiff
path: root/fs/notify/inotify
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-12-09 11:18:21 +0300
committerJan Kara <jack@suse.cz>2017-04-03 17:56:18 +0300
commit5198adf649a0b7b0f9ddb98b264e57b41516116b (patch)
treea7b1b404e7cd9de346338f3585ddb775d6186073 /fs/notify/inotify
parent4495c08e84729385774601b5146d51d9e5849f81 (diff)
downloadlinux-5198adf649a0b7b0f9ddb98b264e57b41516116b.tar.xz
fsnotify: Remove unnecessary tests when showing fdinfo
show_fdinfo() iterates group's list of marks. All marks found there are guaranteed to be alive and they stay so until we release group->mark_mutex. So remove uncecessary tests whether mark is alive. Reviewed-by: Miklos Szeredi <mszeredi@redhat.com> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/notify/inotify')
0 files changed, 0 insertions, 0 deletions