]> 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)
commit16e656abf1b7c85aa2829b8746e8da28320241ae
treed1d56d90f202d5dd78c3e955de2f5693cd700a2f
parent796edfcc179492699f1603590a0883a886c183df
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