diff options
author | Jan Kara <jack@suse.cz> | 2016-12-09 09:18:21 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-04-03 16:56:18 +0200 |
commit | 5198adf649a0b7b0f9ddb98b264e57b41516116b (patch) | |
tree | a7b1b404e7cd9de346338f3585ddb775d6186073 /fs/nilfs2 | |
parent | 4495c08e84729385774601b5146d51d9e5849f81 (diff) | |
download | linux-stable-5198adf649a0b7b0f9ddb98b264e57b41516116b.tar.gz linux-stable-5198adf649a0b7b0f9ddb98b264e57b41516116b.tar.bz2 linux-stable-5198adf649a0b7b0f9ddb98b264e57b41516116b.zip |
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/nilfs2')
0 files changed, 0 insertions, 0 deletions