diff options
author | Jeff Mahoney <jeffm@suse.com> | 2016-08-18 03:58:33 +0200 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2016-08-25 12:58:29 +0200 |
commit | 35bbb97fc898aeb874cb7c8b746f091caa359994 (patch) | |
tree | 4ff7e4a0ac701e26985efb0d24c0ea3665791ffc /include/kvm/arm_vgic.h | |
parent | Btrfs: fix em leak in find_first_block_group (diff) | |
download | linux-35bbb97fc898aeb874cb7c8b746f091caa359994.tar.xz linux-35bbb97fc898aeb874cb7c8b746f091caa359994.zip |
btrfs: don't create or leak aliased root while cleaning up orphans
commit 909c3a22da3 (Btrfs: fix loading of orphan roots leading to BUG_ON)
avoids the BUG_ON but can add an aliased root to the dead_roots list or
leak the root.
Since we've already been loading roots into the radix tree, we should
use it before looking the root up on disk.
Cc: <stable@vger.kernel.org> # 4.5
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'include/kvm/arm_vgic.h')
0 files changed, 0 insertions, 0 deletions