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>
Showing
- fs/notify/fanotify/fanotify.c 8 additions, 10 deletionsfs/notify/fanotify/fanotify.c
- fs/notify/fsnotify.c 3 additions, 2 deletionsfs/notify/fsnotify.c
- fs/notify/inotify/inotify_fsnotify.c 3 additions, 5 deletionsfs/notify/inotify/inotify_fsnotify.c
- include/linux/fsnotify_backend.h 30 additions, 4 deletionsinclude/linux/fsnotify_backend.h
- kernel/audit_fsnotify.c 2 additions, 11 deletionskernel/audit_fsnotify.c
- kernel/audit_watch.c 2 additions, 14 deletionskernel/audit_watch.c
Please register or sign in to comment