Mikhail Karpov, le jeu. 03 sept. 2026 13:38:29 +0700, a ecrit:
> > > diff --git a/storeio/storeio.c b/storeio/storeio.c
> > > index b146742..3302c5c 100644
> > > --- a/storeio/storeio.c
> > > +++ b/storeio/storeio.c
> > > @@ -688,15 +688,11 @@ netfs_attempt_lookup (struct iouser *user, struct
> node
> > > *dir,
> > > return err;
> > > }
> > > }
> > > - pthread_mutex_unlock (&dir->lock);
> > >
> > > if (*name == '\0' || strcmp (name, ".") == 0)
> > > {
> > > *np = dir;
> > > - pthread_mutex_lock (&dir->lock);
> > > netfs_nref (*np);
> > > - pthread_mutex_unlock (&dir->lock);
> > > - pthread_mutex_lock (&(*np)->lock);
> >
> > These two are not the same lock, I have kept the two lines.
>
> Isn't that the same lock? After all, *np refers to dir... Other libnetfs
Ah, right, it's done right above :)
Samuel