Fsnotify patches for v5.7-rc1
Jan Kara
reviewerHello Linus,
could you please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git fsnotify_for_v5.7-rc1
This pull contains patches implementing fanotify FAN_DIR_MODIFY event. This event reports name in a directory under which change happened and together with directory filehandle and fstatat() allows reliable and efficient implementation of directory synchronization.
Top of the tree is 6def1a1d2d58. The full shortlog is:
Amir Goldstein (12):
fsnotify: tidy up FS_ and FAN_ constants
fsnotify: factor helpers fsnotify_dentry() and fsnotify_file()
fsnotify: funnel all dirent events through fsnotify_name()
fsnotify: use helpers to access data by data_type
fsnotify: simplify arguments passing to fsnotify_parent()
fsnotify: replace inode pointer with an object id
fanotify: merge duplicate events on parent and child
fanotify: fix merging marks masks with FAN_ONDIR
fanotify: send FAN_DIR_MODIFY event flavor with dir inode and name
fanotify: prepare to report both parent and child fid's
fanotify: record name info for FAN_DIR_MODIFY event
fanotify: report name info for FAN_DIR_MODIFY event
Jan Kara (4):
fanotify: Simplify create_fd()
fanotify: Store fanotify handles differently
fanotify: divorce fanotify_path_event and fanotify_fid_event
fanotify: Drop fanotify_event_has_fid()
Nathan Chancellor (1):
fanotify: Fix the checks in fanotify_fsid_equal
The diffstat is
fs/notify/fanotify/fanotify.c | 302 ++++++++++++++++++++++++++--------- fs/notify/fanotify/fanotify.h | 189 +++++++++++++++------- fs/notify/fanotify/fanotify_user.c | 220 ++++++++++++++++--------- fs/notify/fsnotify.c | 22 +-- fs/notify/inotify/inotify_fsnotify.c | 12 +- fs/notify/inotify/inotify_user.c | 2 +- include/linux/fanotify.h | 3 +- include/linux/fsnotify.h | 138 +++++++--------- include/linux/fsnotify_backend.h | 70 +++++--- include/uapi/linux/fanotify.h | 13 +- kernel/audit_fsnotify.c | 13 +- kernel/audit_watch.c | 16 +- 12 files changed, 637 insertions(+), 363 deletions(-)
Thanks
Honza
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
The pull request you sent on Mon, 6 Apr 2020 13:44:31 +0200:
The pull request you sent on Mon, 6 Apr 2020 13:44:31 +0200:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.gitfsnotify_for_v5.7-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b6ff10700d1bf33c4323d34eca1e80bc8a69f9f5
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/userdoc/prtracker