fsnotify: add helper to get mask from connector
authorAmir Goldstein <amir73il@gmail.com>
Sat, 23 Jun 2018 14:54:50 +0000 (17:54 +0300)
committerJan Kara <jack@suse.cz>
Wed, 27 Jun 2018 11:45:07 +0000 (13:45 +0200)
commit3ac70bfcde812b1b97d8a88a832df59941fa293f
tree52dad7896f274af1f4e12fc87997994387e12333
parent36f10f55ff1d2867bfc48ed898a9cc0dc6b49dd2
fsnotify: add helper to get mask from connector

Use a helper to get the mask from the object (i.e. i_fsnotify_mask)
to generalize code of add/remove inode/vfsmount mark.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/fanotify/fanotify_user.c
fs/notify/mark.c
include/linux/fsnotify_backend.h