inotify: do not set FS_EVENT_ON_CHILD in non-dir mark mask
authorAmir Goldstein <amir73il@gmail.com>
Wed, 22 Jul 2020 12:58:42 +0000 (15:58 +0300)
committerJan Kara <jack@suse.cz>
Mon, 27 Jul 2020 21:16:16 +0000 (23:16 +0200)
commit957f7b472c6b6de4214bf5144b811ab83a9b9465
tree8800b6b381d4da5603e6989c03948128ebf10483
parent40a100d3adc1ad7f0a34875468c499fcecd20ba4
inotify: do not set FS_EVENT_ON_CHILD in non-dir mark mask

FS_EVENT_ON_CHILD has currently no meaning for non-dir inode marks. In
the following patches we want to use that bit to mean that mark's
notification group cares about parent and name information. So stop
setting FS_EVENT_ON_CHILD for non-dir marks.

Link: https://lore.kernel.org/r/20200722125849.17418-3-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/inotify/inotify_user.c