public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC] weird stuff in exfat_lookup()
@ 2025-02-27 22:48 Al Viro
  2025-02-28  5:44 ` Namjae Jeon
  0 siblings, 1 reply; 6+ messages in thread
From: Al Viro @ 2025-02-27 22:48 UTC (permalink / raw)
  To: Namjae Jeon; +Cc: linux-fsdevel

	There's a really odd comment in that thing:
                /*
                 * Unhashed alias is able to exist because of revalidate()
                 * called by lookup_fast. You can easily make this status
                 * by calling create and lookup concurrently
                 * In such case, we reuse an alias instead of new dentry
                 */
and AFAICS it had been there since the original merge.  What I don't
understand is how the hell could revalidate result in that -
exfat_d_revalidate() always returns 1 on any positive dentry and alias is
obviously positive (it has the same inode as the one we are about to use).

It mentions a way to reproduce that, but I don't understand what does
that refer to; could you give details?

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

end of thread, other threads:[~2026-04-03 19:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27 22:48 [RFC] weird stuff in exfat_lookup() Al Viro
2025-02-28  5:44 ` Namjae Jeon
2025-02-28 16:03   ` Sungjong Seo
2025-03-13 12:39     ` Sungjong Seo
2026-04-03 19:54       ` Al Viro
2026-04-03 20:02         ` Al Viro

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