diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-10-16 22:10:59 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-26 01:47:09 +0200 |
commit | 4093602d6bbb2c82b922d1b442a022a069cdb59e (patch) | |
tree | 4de2b79faa9ce9c64cd2d1fdb70c040accb95470 /mm/util.c | |
parent | nilfs2: convert nilfs_grab_buffer() to use a folio (diff) | |
download | linux-4093602d6bbb2c82b922d1b442a022a069cdb59e.tar.xz linux-4093602d6bbb2c82b922d1b442a022a069cdb59e.zip |
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/util.c')
-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; |