public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] fsnotify hooks consolidation
@ 2026-03-02 18:37 Amir Goldstein
  2026-03-02 18:37 ` [PATCH 1/2] fsnotify: make fsnotify_create() agnostic to file/dir Amir Goldstein
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Amir Goldstein @ 2026-03-02 18:37 UTC (permalink / raw)
  To: Jan Kara
  Cc: Christian Brauner, Al Viro, Chuck Lever, Jeff Layton,
	Greg Kroah-Hartman, Steven Rostedt, linux-fsdevel

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(-)

-- 
2.53.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-03-05  1:22 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-02 18:37 [PATCH 0/2] fsnotify hooks consolidation Amir Goldstein
2026-03-02 18:37 ` [PATCH 1/2] fsnotify: make fsnotify_create() agnostic to file/dir Amir Goldstein
2026-03-02 18:37 ` [PATCH 2/2] fs: use simple_end_creating helper to consolidate fsnotify hooks Amir Goldstein
2026-03-02 22:28   ` Chuck Lever
2026-03-03 10:05     ` Amir Goldstein
2026-03-03 10:28       ` NeilBrown
2026-03-03 11:27         ` Amir Goldstein
2026-03-05  1:22           ` NeilBrown
2026-03-03 14:24       ` Chuck Lever
2026-03-03 15:01   ` Alice Ryhl
2026-03-03 12:45 ` [PATCH 0/2] fsnotify hooks consolidation Jeff Layton
2026-03-03 13:18   ` Amir Goldstein
2026-03-03 15:00     ` Christoph Hellwig
2026-03-03 15:05       ` Amir Goldstein
2026-03-03 15:07         ` Christoph Hellwig
2026-03-03 15:17           ` Amir Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox