[GIT PULL] Fanotify changes for v5.1-rc1

From: Jan Kara
Date: Fri Mar 01 2019 - 10:13:04 EST


Hello Linus,

could you please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git fsnotify_for_v5.1-rc1

to get support for fanotify directory events and changes to make waiting
for fanotify permission event response killable.

Top of the tree is b51905798195. The full shortlog is:

Amir Goldstein (17):
fsnotify: annotate directory entry modification events
fsnotify: remove dirent events from FS_EVENTS_POSS_ON_CHILD mask
fsnotify: send all event types to super block marks
fsnotify: move mask out of struct fsnotify_event
fanotify: rename struct fanotify_{,perm_}event_info
fanotify: open code fill_event_metadata()
fanotify: encode file identifier for FAN_REPORT_FID
fanotify: copy event fid info to user
fanotify: enable FAN_REPORT_FID init flag
fanotify: cache fsid in fsnotify_mark_connector
vfs: add vfs_get_fsid() helper
fanotify: use vfs_get_fsid() helper instead of vfs_statfs()
fsnotify: report FS_ISDIR flag with MOVE_SELF and DELETE_SELF events
fanotify: check FS_ISDIR flag instead of d_is_dir()
fanotify: support events with data type FSNOTIFY_EVENT_INODE
fanotify: add support for create/attrib/move/delete events
fanotify: report FAN_ONDIR to listener with FAN_REPORT_FID

Jan Kara (8):
fanotify: Select EXPORTFS
fanotify: Fold dequeue_event() into process_access_response()
fanotify: Move locking inside get_one_event()
fsnotify: Create function to remove event from notification list
fanotify: Simplify cleaning of access_list
fanotify: Track permission event state
fanotify: Use interruptible wait when waiting for permission events
fanotify: Make waits for fanotify events only killable

The diffstat is

fs/notify/fanotify/Kconfig | 1 +
fs/notify/fanotify/fanotify.c | 267 +++++++++++++++++++++----
fs/notify/fanotify/fanotify.h | 116 +++++++++--
fs/notify/fanotify/fanotify_user.c | 373 ++++++++++++++++++++++++-----------
fs/notify/fsnotify.c | 15 +-
fs/notify/inotify/inotify.h | 1 +
fs/notify/inotify/inotify_fsnotify.c | 18 +-
fs/notify/inotify/inotify_user.c | 5 +-
fs/notify/mark.c | 42 +++-
fs/notify/notification.c | 42 ++--
fs/statfs.c | 14 ++
include/linux/fanotify.h | 26 ++-
include/linux/fsnotify.h | 73 +++++--
include/linux/fsnotify_backend.h | 67 ++++---
include/linux/statfs.h | 3 +
include/uapi/linux/fanotify.h | 29 +++
16 files changed, 828 insertions(+), 264 deletions(-)

Thanks
Honza

--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR