Re: [PATCH v2 03/14] md/raid1: use folio for tmppage

From: Yu Kuai

Date: Thu Feb 05 2026 - 02:33:50 EST


Hi,

在 2026/2/5 15:23, Li Nan 写道:
> Yeah, should we introduce safe_put_folio()? Or just check NULL here.

Yes, and don't copy implementation. Just convert safe_put_page(page) to
safe_put_folio(page_folio(page)) first.

--
Thansk,
Kuai