Re: [PATCH 1/3] fs: aio: use a folio in aio_setup_ring()

From: Matthew Wilcox
Date: Thu Mar 21 2024 - 08:24:02 EST


On Thu, Mar 21, 2024 at 04:27:31PM +0800, Kefeng Wang wrote:
> + pr_debug("pid(%d) [%d] folio->count=%d\n", current->pid, i,
> + folio_ref_count(folio));
> + folio_mark_uptodate(folio);
> + folio_unlock(folio);

You can use folio_end_read() here.