]> Git Repo - linux.git/blobdiff - mm/swap.h
mm: return the folio from __read_swap_cache_async()
[linux.git] / mm / swap.h
index c0dc73e10e915714a391ce86727054fa01e1a3e5..a60ab1cfcaf2f7c3dfd3f6cd2aeb7ed0fa15c13e 100644 (file)
--- a/mm/swap.h
+++ b/mm/swap.h
@@ -49,10 +49,9 @@ struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask,
                                   struct vm_area_struct *vma,
                                   unsigned long addr,
                                   struct swap_iocb **plug);
                                   struct vm_area_struct *vma,
                                   unsigned long addr,
                                   struct swap_iocb **plug);
-struct page *__read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask,
-                                    struct mempolicy *mpol, pgoff_t ilx,
-                                    bool *new_page_allocated,
-                                    bool skip_if_exists);
+struct folio *__read_swap_cache_async(swp_entry_t entry, gfp_t gfp_flags,
+               struct mempolicy *mpol, pgoff_t ilx, bool *new_page_allocated,
+               bool skip_if_exists);
 struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t flag,
                                    struct mempolicy *mpol, pgoff_t ilx);
 struct page *swapin_readahead(swp_entry_t entry, gfp_t flag,
 struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t flag,
                                    struct mempolicy *mpol, pgoff_t ilx);
 struct page *swapin_readahead(swp_entry_t entry, gfp_t flag,
This page took 0.020723 seconds and 4 git commands to generate.