Re: [GIT PULL] fuse update for 6.19

From: Al Viro

Date: Fri Dec 05 2025 - 22:53:44 EST


On Fri, Dec 05, 2025 at 07:29:13PM -0800, Linus Torvalds wrote:
> On Fri, 5 Dec 2025 at 18:28, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > Sure, ->d_prune() would take it out of the rbtree, but what if it hits
>
> Ahh.
>
> Maybe increase the d_count before releasing that rbtree lock?
>
> Or yeah, maybe moving it to d_release. Miklos?

Moving it to ->d_release() would be my preference, TBH. Then
we could simply dget() the sucker under the lock and follow
that with existing dput_to_list() after dropping the lock...