Merge tag 'fsnotify_for_v5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull fsnotify updates from Jan Kara: "This implements the fanotify FAN_DIR_MODIFY event. This event reports the name in a directory under which a change happened and together with the directory filehandle and fstatat() allows reliable and efficient implementation of directory synchronization" * tag 'fsnotify_for_v5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: fanotify: Fix the checks in fanotify_fsid_equal fanotify: report name info for FAN_DIR_MODIFY event fanotify: record name info for FAN_DIR_MODIFY event fanotify: Drop fanotify_event_has_fid() fanotify: prepare to report both parent and child fid's fanotify: send FAN_DIR_MODIFY event flavor with dir inode and name fanotify: divorce fanotify_path_event and fanotify_fid_event fanotify: Store fanotify handles differently fanotify: Simplify create_fd() fanotify: fix merging marks masks with FAN_ONDIR fanotify: merge duplicate events on parent and child fsnotify: replace inode pointer with an object id fsnotify: simplify arguments passing to fsnotify_parent() fsnotify: use helpers to access data by data_type fsnotify: funnel all dirent events through fsnotify_name() fsnotify: factor helpers fsnotify_dentry() and fsnotify_file() fsnotify: tidy up FS_ and FAN_ constants
Showing
- fs/notify/fanotify/fanotify.c 228 additions, 74 deletionsfs/notify/fanotify/fanotify.c
- fs/notify/fanotify/fanotify.h 127 additions, 62 deletionsfs/notify/fanotify/fanotify.h
- fs/notify/fanotify/fanotify_user.c 145 additions, 75 deletionsfs/notify/fanotify/fanotify_user.c
- fs/notify/fsnotify.c 8 additions, 14 deletionsfs/notify/fsnotify.c
- fs/notify/inotify/inotify_fsnotify.c 5 additions, 7 deletionsfs/notify/inotify/inotify_fsnotify.c
- fs/notify/inotify/inotify_user.c 1 addition, 1 deletionfs/notify/inotify/inotify_user.c
- include/linux/fanotify.h 2 additions, 1 deletioninclude/linux/fanotify.h
- include/linux/fsnotify.h 58 additions, 80 deletionsinclude/linux/fsnotify.h
- include/linux/fsnotify_backend.h 49 additions, 21 deletionsinclude/linux/fsnotify_backend.h
- include/uapi/linux/fanotify.h 10 additions, 3 deletionsinclude/uapi/linux/fanotify.h
- kernel/audit_fsnotify.c 2 additions, 11 deletionskernel/audit_fsnotify.c
- kernel/audit_watch.c 2 additions, 14 deletionskernel/audit_watch.c
Loading
Please register or sign in to comment