]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit10a6de729065a6f9637ee183dac8801025207e13
tree1d2867b32812df127a09712ca5c0362bc6f156c2
parent6a04b11179f3f33e5b99251af90d5f8367a994e5
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