Skip to contentSkip to conversation

Fsnotify changes for 4.15-rc1

GIT PULL Jan Kara 1 participant 1 message Nov 14, 2017 VFS

lore
Share & tools
lore

Jan Kara

author reviewer
#0 lore raw

Hello Linus,

could you please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git fsnotify

The pull contains fixes of use-after-tree issues when handling fanotify permission events from Miklos, refcount_t conversions from Elena, and fixes of ENOMEM handling in dnotify and fsnotify from me.

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

Elena Reshetova (2):
fsnotify: convert fsnotify_group.refcnt from atomic_t to refcount_t
fsnotify: convert fsnotify_mark.refcnt from atomic_t to refcount_t

Jan Kara (2):
dnotify: Handle errors from fsnotify_add_mark_locked() in fcntl_dirnotify()
fsnotify: Protect bail out path of fsnotify_add_mark_locked() properly

Miklos Szeredi (6):
fsnotify: clean up fsnotify_prepare/finish_user_wait()
fsnotify: pin both inode and vfsmount mark
fsnotify: fix pinning group in fsnotify_prepare_user_wait()
fanotify: fix fsnotify_prepare_user_wait() failure
fsnotify: clean up fsnotify()
fanotify: clean up CONFIG_FANOTIFY_ACCESS_PERMISSIONS ifdefs

The diffstat is

 fs/notify/dnotify/dnotify.c        |   7 ++-
 fs/notify/fanotify/fanotify.c      |  49 ++++++---------
 fs/notify/fanotify/fanotify.h      |   8 ++-
 fs/notify/fanotify/fanotify_user.c |  43 +++++--------
 fs/notify/fsnotify.c               | 101 ++++++++++++++-----------------
 fs/notify/group.c                  |   6 +-
 fs/notify/inotify/inotify_user.c   |   4 +-
 fs/notify/mark.c                   | 121 ++++++++++++++++++-------------------
 include/linux/fsnotify_backend.h   |   7 +--
 kernel/audit_tree.c                |   2 +-
 10 files changed, 162 insertions(+), 186 deletions(-)

Thanks
Honza

Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR