commit | 6e03492e9d288d9ce886064289e2768da5d7d967 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <willy@infradead.org> | Wed Dec 13 21:58:41 2023 +0000 |
committer | Andrew Morton <akpm@linux-foundation.org> | Fri Dec 29 11:58:32 2023 -0800 |
tree | 2754538a468fc8fbb91fcd5abc1e35720b67ec8e | |
parent | 69fe7d67cb0c6eeab3d4c9a3bf950f9d12af4719 [diff] |
mm: return a folio from read_swap_cache_async() The only two callers simply call put_page() on the page returned, so they're happier calling folio_put(). Saves two calls to compound_head(). Link: https://lkml.kernel.org/r/20231213215842.671461-13-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>