Jeff Layton <jlay...@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
--
Linux-cachefs mailing list
Linux-cachefs@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-cachefs

Reply via email to