]> www.infradead.org Git - users/hch/block.git/commit
btrfs: simplify scrub_recheck_block
authorChristoph Hellwig <hch@lst.de>
Fri, 14 Jan 2022 10:11:53 +0000 (11:11 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 Feb 2022 08:33:04 +0000 (09:33 +0100)
commit776897c728a5cefa243b02988bb34fd8ef3e3753
treeeb769295678c83d4baa8f2a8d43bf5ecb6a1800a
parentb7320d8bf40a83818d938ecb11c3dd1d0ca24ead
btrfs: simplify scrub_recheck_block

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