Re: [PATCH -next 1/1] mm/memory-failure.c: Cleanup in unpoison_memory

From: Miaohe Lin
Date: Fri Nov 25 2022 - 20:42:01 EST


On 2022/11/25 14:54, Wupeng Ma wrote:
> From: Ma Wupeng <mawupeng1@xxxxxxxxxx>
>
> If freeit it true, the value of ret must be zero, there is no need to

s/it/is/

> check the value of freeit after label unlock_mutex.
>
> We can drop variable freeit to do this cleanup.
>
> Signed-off-by: Ma Wupeng <mawupeng1@xxxxxxxxxx>

Reviewed-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>

Thanks,
Miaohe Lin