[PATCH v3 2/2] afs: unlock the folio when vnode is marked deleted

David Howells dhowells at redhat.com
Thu Jul 7 05:52:27 PDT 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-afs mailing list