On Fri, Jul 17, 2026 at 07:19:45PM +0100, Lorenzo Stoakes (ARM) wrote:
<snip>
> diff --git a/mm/rmap.c b/mm/rmap.c
> index 5798427d007f..cfd4195ff1ae 100644
> --- a/mm/rmap.c
> +++ b/mm/rmap.c
> @@ -1240,8 +1240,10 @@ static bool mapping_wrprotect_range_one(struct folio 
> *folio,
>               .vma            = vma,
>               .address        = address,
>               .flags          = PVMW_SYNC,
> +             .is_anon_walk   = false,
>       };
>
> +     VM_WARN_ON_ONCE(folio_test_anon(folio));

Andrew - can you drop this line please? It's incorrect (folio is always NULL 
here).

Thanks!

Cheers, Lorenzo

Reply via email to