summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2021-03-12 15:25:14 -0500
committerDavid Sterba <dsterba@suse.com>2021-04-19 17:25:20 +0200
commit84c50ba5214c2f3c1be4a931d521ec19f55dfdc8 (patch)
tree5ec9dd686bc5aa3d842a44180d887826b538e160 /tools/perf/scripts/python
parent00bb36a0e76ab7e94bdd70d561baf25f9bc1415d (diff)
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions