Re: [PATCH v3 2/2] afs: unlock the folio when vnode is marked deleted
From: David Howells
Date: Thu Jul 07 2022 - 08:53:03 EST
Jeff Layton <jlayton@xxxxxxxxxx> wrote:
> > + folio_unlock(*folio);
> > + folio_put(*folio);
>
> Don't you also need this?
>
> *folio = NULL;
It shouldn't need any of those three lines.
David