fsnotify: send all event types to super block marks
authorAmir Goldstein <amir73il@gmail.com>
Thu, 10 Jan 2019 17:04:30 +0000 (19:04 +0200)
committerJan Kara <jack@suse.cz>
Wed, 6 Feb 2019 14:20:30 +0000 (15:20 +0100)
commit45a9fb3725d8868a9b4192afd1a1f2bff1cc5ffb
treebf2c9f46ab1c8b3d83fece3c828897066c0eaf71
parente220140ff6241e180d0c2fc294e61ee6bbc6a18e
fsnotify: send all event types to super block marks

So far, existence of super block marks was checked only on events with
data type FSNOTIFY_EVENT_PATH. Use the super block of the "to_tell" inode
to report the events of all event types to super block marks.

This change has no effect on current backends. Soon, this will allow
fanotify backend to receive all event types on a super block mark.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/fsnotify.c