[Linux-cachefs] [PATCH v3 2/2] afs: unlock the folio when vnode is marked deleted
David Howells
dhowells at redhat.com
Thu Jul 7 12:52:27 UTC 2022
Jeff Layton <jlayton at kernel.org> 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
More information about the Linux-cachefs
mailing list