fsnotify: let connector point to an abstract object
authorAmir Goldstein <amir73il@gmail.com>
Sat, 23 Jun 2018 14:54:49 +0000 (17:54 +0300)
committerJan Kara <jack@suse.cz>
Wed, 27 Jun 2018 11:45:05 +0000 (13:45 +0200)
commit36f10f55ff1d2867bfc48ed898a9cc0dc6b49dd2
tree0b7a840c5c8e0b2bd44aeca2c21a144b25d89457
parentb812a9f5896379b6cff2ac168ddb5b89037d8e78
fsnotify: let connector point to an abstract object

Make the code to attach/detach a connector to object more generic
by letting the fsnotify connector point to an abstract fsnotify_connp_t.
Code that needs to dereference an inode or mount object now uses the
helpers fsnotify_conn_{inode,mount}.

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