summaryrefslogtreecommitdiff
path: root/fs/notify/fsnotify.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2020-07-16 11:42:20 +0300
committerJan Kara <jack@suse.cz>2020-07-27 22:24:51 +0300
commitc8f3446c66d810e21af61cf889e7b0e3bc921b9d (patch)
tree04862fcf2dc949590906af61c3a3991d6815a594 /fs/notify/fsnotify.c
parent62cb0af4cea871e80015dd45b200033002f23a95 (diff)
downloadlinux-c8f3446c66d810e21af61cf889e7b0e3bc921b9d.tar.xz
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/notify/fsnotify.c')
0 files changed, 0 insertions, 0 deletions