diff options
author | Christoph Hellwig <hch@lst.de> | 2022-04-04 06:45:20 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-05-16 17:03:12 +0200 |
commit | e9458bfe5fff9588096a9f4e8975be762e313af4 (patch) | |
tree | c9374da16ef90f5d76f55688c4f368e298a4d58b /fs/coredump.c | |
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>
Diffstat (limited to 'fs/coredump.c')
0 files changed, 0 insertions, 0 deletions