• Amir Goldstein's avatar
    fanotify: add API to attach/detach super block mark · d54f4fba
    Amir Goldstein authored
    Add another mark type flag FAN_MARK_FILESYSTEM for add/remove/flush
    of super block mark type.
    
    A super block watch gets all events on the filesystem, regardless of
    the mount from which the mark was added, unless an ignore mask exists
    on either the inode or the mount where the event was generated.
    
    Only one of FAN_MARK_MOUNT and FAN_MARK_FILESYSTEM mark type flags
    may be provided to fanotify_mark() or no mark type flag for inode mark.
    
    Cc: <linux-api@vger.kernel.org>
    Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
    Signed-off-by: default avatarJan Kara <jack@suse.cz>
    d54f4fba
fanotify_user.c 24.4 KB