commit | 5198adf649a0b7b0f9ddb98b264e57b41516116b | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Fri Dec 09 09:18:21 2016 +0100 |
committer | Jan Kara <jack@suse.cz> | Mon Apr 03 16:56:18 2017 +0200 |
tree | a7b1b404e7cd9de346338f3585ddb775d6186073 | |
parent | 4495c08e84729385774601b5146d51d9e5849f81 [diff] |
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>