fs: Convert vfs_dedupe_file_range_compare to folios
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 14 Dec 2020 12:57:07 +0000 (07:57 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 8 Jan 2022 05:28:41 +0000 (00:28 -0500)
commit338f379cf7c21e3bc31186f303ac99dc5d2cc613
tree053c2bbde44b08f9f46afde993c2f28c6c9e3589
parent1613fac9aaf840af76faa747ea428a714af98dbd
fs: Convert vfs_dedupe_file_range_compare to folios

We still only operate on a single page of data at a time due to using
kmap().  A more complex implementation would work on each page in a folio,
but it's not clear that such a complex implementation would be worthwhile.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
fs/remap_range.c