diff options
author | Amir Goldstein <amir73il@gmail.com> | 2020-07-16 11:42:19 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2020-07-27 21:24:51 +0200 |
commit | 62cb0af4cea871e80015dd45b200033002f23a95 (patch) | |
tree | a4a9ee6902925738f606e40a887bb3dd1a412c85 /mm/mincore.c | |
parent | f35c41567867e06bb0a1d6b74c5bf323be1026e5 (diff) | |
download | linux-62cb0af4cea871e80015dd45b200033002f23a95.tar.gz |
dnotify: report both events on parent and child with single callback
For some events (e.g. DN_ATTRIB on sub-directory) fsnotify may call dnotify_handle_event() once for watching parent and once again for the watching sub-directory. Do the same thing with a single callback instead of two callbacks when marks iterator contains both inode and child entries. Link: https://lore.kernel.org/r/20200716084230.30611-12-amir73il@gmail.com Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions