diff options
author | Amir Goldstein <[email protected]> | 2021-08-10 18:12:20 +0300 |
---|---|---|
committer | Jan Kara <[email protected]> | 2021-08-11 13:50:53 +0200 |
commit | e43de7f0862b8598cd1ef440e3b4701cd107ea40 (patch) | |
tree | 837ebcd6be2bf8ed3526a3d4d5c69050d99e01dc /tools/testing/selftests/bpf/prog_tests | |
parent | ec44610fe2b86daef70f3f53f47d2a2542d7094f (diff) |
fsnotify: optimize the case of no marks of any type
Add a simple check in the inline helpers to avoid calling fsnotify()
and __fsnotify_parent() in case there are no marks of any type
(inode/sb/mount) for an inode's sb, so there can be no objects
of any type interested in the event.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Matthew Bobrowski <[email protected]>
Signed-off-by: Amir Goldstein <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions