summary refs log tree commit diff
path: root/mm/mincore.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2020-07-16 11:42:19 +0300
committerJan Kara <jack@suse.cz>2020-07-27 21:24:51 +0200
commit62cb0af4cea871e80015dd45b200033002f23a95 (patch)
treea4a9ee6902925738f606e40a887bb3dd1a412c85 /mm/mincore.c
parentf35c41567867e06bb0a1d6b74c5bf323be1026e5 (diff)
downloadlinux-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