diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-06-06 10:27:41 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-06-26 09:47:17 -0400 |
commit | 9e746ff09beda606c2a27f3d16942e947f4f8698 (patch) | |
tree | 4e93ba34b760d48ff5a371bb8a82632d5c64b17e /fs/btrfs | |
parent | 8d361f8622c04e0898c3c2277dcb43f0e96f6845 (diff) | |
download | linux-next-9e746ff09beda606c2a27f3d16942e947f4f8698.tar.gz |
mm/migrate: Convert migrate_page() to migrate_folio()
Convert all callers to pass a folio. Most have the folio
already available. Switch all users from aops->migratepage to
aops->migrate_folio. Also turn the documentation into kerneldoc.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index e3ecc38a9ebc..03bbb7e96bf3 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -968,7 +968,7 @@ static int btree_migrate_folio(struct address_space *mapping, if (folio_get_private(src) && !filemap_release_folio(src, GFP_KERNEL)) return -EAGAIN; - return migrate_page(mapping, &dst->page, &src->page, mode); + return migrate_folio(mapping, dst, src, mode); } #else #define btree_migrate_folio NULL |