diff options
author | Josef Bacik <josef@toxicpanda.com> | 2021-03-12 15:25:14 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-04-19 17:25:20 +0200 |
commit | 84c50ba5214c2f3c1be4a931d521ec19f55dfdc8 (patch) | |
tree | 5ec9dd686bc5aa3d842a44180d887826b538e160 /lib/mpi | |
parent | 00bb36a0e76ab7e94bdd70d561baf25f9bc1415d (diff) | |
download | linux-84c50ba5214c2f3c1be4a931d521ec19f55dfdc8.tar.gz linux-84c50ba5214c2f3c1be4a931d521ec19f55dfdc8.tar.bz2 linux-84c50ba5214c2f3c1be4a931d521ec19f55dfdc8.zip |
btrfs: do proper error handling in create_reloc_root
We do memory allocations here, read blocks from disk, all sorts of
operations that could easily fail at any given point. Instead of
panicing the box, simply return the error back up the chain, all callers
at this point have proper error handling.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions