aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2014-04-03 14:46:32 -0700
committerLinus Torvalds <[email protected]>2014-04-03 16:20:51 -0700
commit3298cf37bee59c66a51da0cea8bae0d0418e27fd (patch)
tree90bf0ad43189a553f47f2c27b9345ea8c7de2bdf /tools/perf/scripts/python/bin
parentddae82d8e67fbef534e3a240da7e77cc8654462c (diff)
fanotify: remove useless bypass_perm check
The prepare_for_access_response() function checks whether group->fanotify_data.bypass_perm is set. However this test can never be true because prepare_for_access_response() is called only from fanotify_read() which means fanotify group is alive with an active fd while bypass_perm is set from fanotify_release() when all file descriptors pointing to the group are closed and the group is going away. Signed-off-by: Jan Kara <[email protected]> Cc: Eric Paris <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions