]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Convert btrfs_migratepage to migrate_folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 6 Jun 2022 14:47:21 +0000 (10:47 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 2 Aug 2022 16:34:04 +0000 (12:34 -0400)
commit8911fb7e33b80b1cedc1f1c64656567d8a266a8a
treed1d56d90f202d5dd78c3e955de2f5693cd700a2f
parentcd9a9d48ebf4c706663f750599cfa2a50a4ccd40
btrfs: Convert btrfs_migratepage to migrate_folio

Use filemap_migrate_folio() to do the bulk of the work, and then copy
the ordered flag across if needed.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c