diff options
| author | Omar Sandoval <[email protected]> | 2022-03-09 17:31:33 -0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-05-16 17:03:06 +0200 |
| commit | 2256e901f5bddc56e24089c96f27b77da932dfcc (patch) | |
| tree | c2465ec67775d7955c2307aff4ea96bc473014fb /tools/perf/scripts/python | |
| parent | c16218714307849a949f83cbad00b1b4ec166bb6 (diff) | |
btrfs: fix anon_dev leak in create_subvol()
When btrfs_qgroup_inherit(), btrfs_alloc_tree_block, or
btrfs_insert_root() fail in create_subvol(), we return without freeing
anon_dev. Reorganize the error handling in create_subvol() to fix this.
Reviewed-by: Sweet Tea Dorminy <[email protected]>
Signed-off-by: Omar Sandoval <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions