Re: [PATCH 4/8] ceph: drop usage of page_index

From: Xiubo Li
Date: Wed Apr 17 2024 - 21:40:30 EST



On 4/18/24 09:30, Matthew Wilcox wrote:
On Thu, Apr 18, 2024 at 08:28:22AM +0800, Xiubo Li wrote:
Thanks for you patch and will it be doable to switch to folio_index()
instead ?
No. Just use folio->index. You only need folio_index() if the folio
might belong to the swapcache instead of a file.

Hmm, Okay.

Thanks

- Xiubo