Re: [PATCH] fs/vboxsf: Replace kmap() with kmap_local_{page, folio}()

From: Fabio M. De Francesco
Date: Wed Jun 28 2023 - 18:41:02 EST


On giovedì 29 giugno 2023 00:23:54 CEST Fabio M. De Francesco wrote:

[...]

>
> Shouldn't we call folio_lock() to lock the folio to be able to unlock with
> folio_unlock()?

Sorry, I wanted to write "If so, I can't find either a folio_lock() or a
page_lock() in this filesystem.".

Fabio

> If so, I can't find any neither a folio_lock() or a page_lock() in this
> filesystem.
>
> Again sorry for not understanding, can you please explain it?
>
> > return err;
> >
> > }