linux/fs/notify/inotify
Amir Goldstein c8f3446c66 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>
2020-07-27 21:24:51 +02:00
..
inotify_fsnotify.c inotify: report both events on parent and child with single callback 2020-07-27 21:24:51 +02:00
inotify_user.c fsnotify: pass dir argument to handle_event() callback 2020-07-27 18:32:47 +02:00
inotify.h fsnotify: pass dir argument to handle_event() callback 2020-07-27 18:32:47 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00