]> www.infradead.org Git - users/hch/misc.git/commit
btrfs: use bdev_rw_virt in scrub_one_super
authorChristoph Hellwig <hch@lst.de>
Sun, 13 Apr 2025 06:25:00 +0000 (08:25 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 29 Apr 2025 19:03:21 +0000 (14:03 -0500)
commit0bab85d5577971101237d07ff6d444f0eaada714
tree318794ade3276674dcf4c7ef08c4759ad6259522
parent5e572809ab191ec11db04f1683672955bc4d24f2
btrfs: use bdev_rw_virt in scrub_one_super

Replace the code building a bio from a kernel direct map address and
submitting it synchronously with the bdev_rw_virt helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
fs/btrfs/scrub.c