Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Unverified Commit 75a07b55 authored by Kefeng Wang's avatar Kefeng Wang Committed by Christian Brauner
Browse files

fs: aio: use a folio in aio_setup_ring()


Use a folio throughout aio_setup_ring() to remove calls to compound_head(),
also use folio_end_read() to simultaneously mark the folio uptodate and
unlock it.

Signed-off-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Link: https://lore.kernel.org/r/20240321131640.948634-2-wangkefeng.wang@huawei.com


Reviewed-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 85a6a1af
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment