diff options
author | Amir Goldstein <amir73il@gmail.com> | 2020-07-16 11:42:20 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2020-07-27 21:24:51 +0200 |
commit | c8f3446c66d810e21af61cf889e7b0e3bc921b9d (patch) | |
tree | 04862fcf2dc949590906af61c3a3991d6815a594 /fs/kernfs | |
parent | 62cb0af4cea871e80015dd45b200033002f23a95 (diff) | |
download | linux-c8f3446c66d810e21af61cf889e7b0e3bc921b9d.tar.bz2 |
inotify: report both events on parent and child with single callback
fsnotify usually calls inotify_handle_event() once for watching parent
to report event with child's name and once for watching child to report
event without child's name.
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-13-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/kernfs')
0 files changed, 0 insertions, 0 deletions