summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2019-02-26 11:33:56 +0300
committerDavid Sterba <dsterba@suse.com>2019-04-29 20:02:17 +0300
commit7ac1e464c4d473b517bb784f30d40da1f842482e (patch)
tree19de63c7656fd2df9720881d78cc41ffa8591836 /tools/perf/scripts/python/stackcollapse.py
parentc53839fc3217085c210e1a62022016f199ae7b5a (diff)
downloadlinux-7ac1e464c4d473b517bb784f30d40da1f842482e.tar.xz
btrfs: Don't panic when we can't find a root key
When we failed to find a root key in btrfs_update_root(), we just panic. That's definitely not cool, fix it by outputting an unique error message, aborting current transaction and return -EUCLEAN. This should not normally happen as the root has been used by the callers in some way. Reviewed-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions