commit | e9458bfe5fff9588096a9f4e8975be762e313af4 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Apr 04 06:45:20 2022 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon May 16 17:03:12 2022 +0200 |
tree | c9374da16ef90f5d76f55688c4f368e298a4d58b | |
parent | 91e3b5f1e293a2e617313a85bafd80d5eb4810f1 [diff] |
btrfs: use on-stack bio in repair_io_failure The I/O in repair_io_failue is synchronous and doesn't need a btrfs_bio, so just use an on-stack bio. Also cleanup the error handling to use goto labels and not discard the actual return values. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>