fsnotify: add super block object type
authorAmir Goldstein <amir73il@gmail.com>
Sat, 1 Sep 2018 07:41:11 +0000 (10:41 +0300)
committerJan Kara <jack@suse.cz>
Mon, 3 Sep 2018 13:14:01 +0000 (15:14 +0200)
commit1e6cb72399fd58b38a1c11055ef18fe01f535cda
tree1d2867b32812df127a09712ca5c0362bc6f156c2
parent9bdda4e9cf2dcecb60a0683b10ffb8cd7e5f2f45
fsnotify: add super block object type

Add the infrastructure to attach a mark to a super_block struct
and detach all attached marks when super block is destroyed.

This is going to be used by fanotify backend to setup super block
marks.

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