]> www.infradead.org Git - users/hch/block.git/commit
btrfs: simplify scrub_repair_page_from_good_copy bio_alloc-cleanup
authorChristoph Hellwig <hch@lst.de>
Fri, 14 Jan 2022 10:16:47 +0000 (11:16 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 Feb 2022 08:33:04 +0000 (09:33 +0100)
commit954425b9ad83b1619ab9f647c421f2cf4f67b41c
tree9276ab290556036003022f7936334102637fa587
parent776897c728a5cefa243b02988bb34fd8ef3e3753
btrfs: simplify scrub_repair_page_from_good_copy

The I/O in repair_io_failue is synchronous and doesn't need a btrfs_bio,
so just use an on-stack bio.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/btrfs/scrub.c