Directly use isolate_movable_folio() helper in mf_isolate_folio(). Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> --- mm/memory-failure.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 9349948f1abf..6f47776df0e1 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -2628,8 +2628,8 @@ static bool mf_isolate_folio(struct folio *folio, struct list_head *pagelist) if (lru) isolated = folio_isolate_lru(folio); else - isolated = isolate_movable_page(&folio->page, - ISOLATE_UNEVICTABLE); + isolated = isolate_movable_folio(folio, + ISOLATE_UNEVICTABLE); if (isolated) { list_add(&folio->lru, pagelist); -- 2.27.0