Re: [PATCH] mm: zswap: fix zswap_never_enabled() for CONFIG_ZSWAP==N

From: Yosry Ahmed
Date: Mon Jul 01 2024 - 09:33:25 EST


On Sat, Jun 29, 2024 at 4:22 PM Barry Song <21cnbao@xxxxxxxxx> wrote:
>
> From: Barry Song <v-songbaohua@xxxxxxxx>
>
> If CONFIG_ZSWAP is set to N, it means zswap cannot be enabled.
> zswap_never_enabled() should return true.
>
> Fixes: 0300e17d67c3 ("mm: zswap: add zswap_never_enabled()")
> Signed-off-by: Barry Song <v-songbaohua@xxxxxxxx>

Acked-by: Yosry Ahmed <yosryahmed@xxxxxxxxxx>