diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-10-16 23:10:59 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-26 02:47:09 +0300 |
commit | 4093602d6bbb2c82b922d1b442a022a069cdb59e (patch) | |
tree | 4de2b79faa9ce9c64cd2d1fdb70c040accb95470 /mm | |
parent | c5521c7689b892c8ea684a284722b5584ba1ce8f (diff) | |
download | linux-4093602d6bbb2c82b922d1b442a022a069cdb59e.tar.xz |
nilfs2: convert nilfs_copy_page() to nilfs_copy_folio()
Both callers already have a folio, so pass it in and use it directly.
Removes a lot of hidden calls to compound_head().
Link: https://lkml.kernel.org/r/20231016201114.1928083-13-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Cc: Andreas Gruenbacher <agruenba@redhat.com>
Cc: Pankaj Raghav <p.raghav@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/util.c b/mm/util.c index 8cbbfd3a3d59..eefa0336d38c 100644 --- a/mm/util.c +++ b/mm/util.c @@ -799,6 +799,7 @@ void folio_copy(struct folio *dst, struct folio *src) cond_resched(); } } +EXPORT_SYMBOL(folio_copy); int sysctl_overcommit_memory __read_mostly = OVERCOMMIT_GUESS; int sysctl_overcommit_ratio __read_mostly = 50; |