Re: [PATCH] mm/memory.c: Replace vmf->vma with variable vma

From: Matthew Wilcox
Date: Tue Aug 18 2020 - 08:01:53 EST


On Tue, Aug 18, 2020 at 04:46:07PM +0800, yanfei.xu@xxxxxxxxxxxxx wrote:
> From: Yanfei Xu <yanfei.xu@xxxxxxxxxxxxx>
>
> The code has declared a vma_struct named vma which is assigned a
> value of vmf->vma. Thus, use variable vma directly here.
>
> Signed-off-by: Yanfei Xu <yanfei.xu@xxxxxxxxxxxxx>

Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>