Re: [RFC PATCH v2] fs: touch up symlink clean up in lookup
From: Mateusz Guzik
Date: Wed Dec 17 2025 - 06:46:12 EST
On Wed, Dec 17, 2025 at 12:37 PM Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Dec 17, 2025 at 12:23:45PM +0100, Mateusz Guzik wrote:
> > Provide links_cleanup_rcu() and links_cleanup_ref() for rcu- and ref-
> > walks respectively.
> >
> > The somewhat misleading drop_links() gets renamed to links_issue_delayed_calls(),
> > which spells out what it is actually doing.
>
> IMO the replacement name is worse; it doesn't say anything about
> the purpose of those "issued delayed calls", for starters.
>
Then name it something else.
I don't care how the patch looks like for the most part, as long as
the crux is retained: dedicated routines for both rcu and ref walks
provided which completely take care of symlink clean up.
> > There are no changes in behavior, this however should be less
> > error-prone going forward.
>
> I disagree, but at the moment (6:30am here, and I'd been up since 11am yesterday ;-/)
> I don't trust my ability to produce coherent detailed reply. I'll reply in detail
> once I get some sleep...
A good night sleep is something I could use myself. ;-)