diff options
author | 2017-09-28 14:51:10 +0800 | |
---|---|---|
committer | 2017-10-30 12:27:58 +0100 | |
commit | d31c32f6745a646b34ed3e29456cc95b12a70e11 (patch) | |
tree | 7eb2a45f134e44642a762da0303b1f829d490eb9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: undo writable superblocke when sprouting fails (diff) | |
download | linux-dev-d31c32f6745a646b34ed3e29456cc95b12a70e11.tar.xz linux-dev-d31c32f6745a646b34ed3e29456cc95b12a70e11.zip |
btrfs: fix BUG_ON in btrfs_init_new_device()
Instead of BUG_ON return error to the caller. And handle the fail
condition by calling the abort transaction and going through the
error path.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions