All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] d_add() misuses in ->lookup()
@ 2026-06-06  6:49 Al Viro
  2026-06-06  6:49 ` [PATCH 1/6] tracefs: use d_splice_alias() in ->lookup() instances Al Viro
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Al Viro @ 2026-06-06  6:49 UTC (permalink / raw)
  To: linux-fsdevel
  Cc: Christian Brauner, Jan Kara, Steven Rostedt, Andreas Hindborg,
	Tyler Hicks, Namjae Jeon, Andreas Gruenbacher

	This series converts a bunch of unidiomatic uses of d_add()
in ->lookup() instances to equivalent uses of d_splice_alias(),
which is the normal mechanism for ->lookup().

	The branch is -rc6-based and lives in
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git #work.dcache-d_add
Individual patches in followups.

	All of those are equivalent transformation - we used to have bugs
with d_add() misuse in ->lookup() instances, but all cases dealt with here
were actually harmless.  If nobody objects, I'm going to throw that into
-next this weekend.  If any of these ends up picked by the trees of
relevant filesystems, all the better - just ping me and I'll drop
the commit(s) in question from the series.

Al Viro (6):
  tracefs: use d_splice_alias() in ->lookup() instances
  configfs_lookup(): switch to d_splice_alias()
  ecryptfs: use d_splice_alias() for ->lookup() return value
  simple_lookup(): use d_splice_alias() for ->lookup() return value
  ntfs: use d_splice_alias() for ->lookup() return value
  gfs2: use d_splice_alias() for ->lookup() return value

 fs/configfs/dir.c        | 3 +--
 fs/ecryptfs/inode.c      | 8 +++-----
 fs/gfs2/inode.c          | 8 ++------
 fs/libfs.c               | 3 +--
 fs/ntfs/namei.c          | 3 +--
 fs/tracefs/event_inode.c | 6 ++----
 6 files changed, 10 insertions(+), 21 deletions(-)

-- 
2.47.3


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

end of thread, other threads:[~2026-06-09 22:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-06  6:49 [PATCH 0/6] d_add() misuses in ->lookup() Al Viro
2026-06-06  6:49 ` [PATCH 1/6] tracefs: use d_splice_alias() in ->lookup() instances Al Viro
2026-06-09 22:26   ` Steven Rostedt
2026-06-06  6:49 ` [PATCH 2/6] configfs_lookup(): switch to d_splice_alias() Al Viro
2026-06-06  6:49 ` [PATCH 3/6] ecryptfs: use d_splice_alias() for ->lookup() return value Al Viro
2026-06-06  6:49 ` [PATCH 4/6] simple_lookup(): " Al Viro
2026-06-06  6:49 ` [PATCH 5/6] ntfs: " Al Viro
2026-06-06 12:26   ` Namjae Jeon
2026-06-06  6:49 ` [PATCH 6/6] gfs2: " Al Viro
2026-06-06 12:48   ` Andreas Gruenbacher
2026-06-06 12:51 ` [PATCH 0/6] d_add() misuses in ->lookup() Andreas Gruenbacher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.