Skip to content

fsnotify prep work for fanotify dentry events

Amir Goldstein linux-btrfs linux-fsdevel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 23 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5fsnotify: pass dentry instead of inode when availablefs/notify/fsnotify.c include/linux/fsnotify.h include/linux/fsnotify_backend.h+13 -1315 replies
2/5fsnotify: annotate filename eventsinclude/linux/fsnotify.h+31 -97 replies
3/5fsnotify: simplify API for filename eventsarch/powerpc/platforms/cell/spufs/inode.c fs/btrfs/ioctl.c fs/debugfs/inode.c +6 more+34 -280 replies
4/5fsnotify: make MOVED_FROM a dentry eventfs/debugfs/inode.c fs/namei.c include/linux/fsnotify.h+18 -151 reply
5/5fsnotify: send event type FSNOTIFY_EVENT_DENTRY to super block markfs/notify/fsnotify.c+7 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] fsnotify prep work for fanotify dentry events

Jan,

Not much has changed in these cleanup patches since they were last posted two years ago [1].

Except they were posted as the 1st part of a 4 parts patch series and the 2nd and 4th part of that original series have already been merged to v4.20-rc1 (FAN_MARK_FILESYSTEM).

This series does not change any logic and it passed the existing LTP inotify/fanotify tests.

The remaining work (3rd part of original series) will be posted in two parts - adding FAN_REPORT_FID and adding support for the dentry events to fanotify.

Thanks,
Amir.

[1] https://marc.info/?l=linux-fsdevel&m=148198446127338&w=2
[2] https://lkml.org/lkml/2016/12/20/312

Amir Goldstein (5):
fsnotify: pass dentry instead of inode when available
fsnotify: annotate filename events
fsnotify: simplify API for filename events
fsnotify: make MOVED_FROM a dentry event
fsnotify: send event type FSNOTIFY_EVENT_DENTRY to super block mark

 arch/powerpc/platforms/cell/spufs/inode.c |  2 +-
 fs/btrfs/ioctl.c                          |  2 +-
 fs/debugfs/inode.c                        | 11 ++-
 fs/devpts/inode.c                         |  2 +-
 fs/namei.c                                | 28 ++++----
 fs/notify/fsnotify.c                      | 17 +++--
 fs/ocfs2/refcounttree.c                   |  2 +-
 fs/tracefs/inode.c                        |  4 +-
 include/linux/fsnotify.h                  | 81 +++++++++++++++--------
 include/linux/fsnotify_backend.h          |  3 +-
 net/sunrpc/rpc_pipe.c                     |  6 +-
 11 files changed, 97 insertions(+), 61 deletions(-)
Signature · 1 line
2.17.1