Skip to content

fsnotify hooks consolidation

Amir Goldstein linux-fsdevel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fsnotify: make fsnotify_create() agnostic to file/dirinclude/linux/fsnotify.h+7 -10 replies
2/2fs: use simple_end_creating helper to consolidate fsnotify hooksdrivers/android/binder/rust_binderfs.c drivers/android/binderfs.c fs/debugfs/inode.c +6 more+29 -407 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChuck LeverJeff LaytonAlice Ryhl
SeriesR-b
1/2
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] fsnotify hooks consolidation

Jan,

I've found this opportunity to reduce the amount of sprinkled fsnotify hooks.

There are still a few fsnotify hooks sprinkled in some pseudo fs, but all those removed by this series are obvious boiler plate code and for most of these fs, this removes all of the custom hooks.

I could send a series to convert each fs with its own patch, but to me that seems a bit unnecessary.

WDYT?
Amir.

Amir Goldstein (2):
fsnotify: make fsnotify_create() agnostic to file/dir
fs: use simple_end_creating helper to consolidate fsnotify hooks

 drivers/android/binder/rust_binderfs.c | 11 +++--------
 drivers/android/binderfs.c             | 10 +++-------
 fs/debugfs/inode.c                     |  5 +----
 fs/libfs.c                             | 14 ++++++++++++++
 fs/nfsd/nfsctl.c                       | 11 +++--------
 fs/tracefs/event_inode.c               |  2 --
 fs/tracefs/inode.c                     |  5 +----
 include/linux/fs.h                     |  1 +
 include/linux/fsnotify.h               |  8 +++++++-
 net/sunrpc/rpc_pipe.c                  | 10 +++-------
 10 files changed, 36 insertions(+), 41 deletions(-)
Signature · 1 line
2.53.0