fsnotify: use helpers to access data by data_type
authorAmir Goldstein <amir73il@gmail.com>
Thu, 19 Mar 2020 15:10:12 +0000 (17:10 +0200)
committerJan Kara <jack@suse.cz>
Mon, 23 Mar 2020 17:19:06 +0000 (18:19 +0100)
commitaa93bdc5500cc93ba31afeda1a61610d117947ad
treeea5f38b9d49a9e1b30fd02fb1f1a84c393e907e2
parenta1aae0570a2b806937120921db2c5d3100ca55fc
fsnotify: use helpers to access data by data_type

Create helpers to access path and inode from different data types.

Link: https://lore.kernel.org/r/20200319151022.31456-5-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/fanotify/fanotify.c
fs/notify/fsnotify.c
fs/notify/inotify/inotify_fsnotify.c
include/linux/fsnotify_backend.h
kernel/audit_fsnotify.c
kernel/audit_watch.c