diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-07-17 19:30:20 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-04 16:25:54 +0800 |
commit | e94d695ac4f0f047eef5c5b71dae1c2aefd59def (patch) | |
tree | 306574d3623b3bfb4afff4a6ff0e6c62d9ea1ecc /drivers/block | |
parent | 849f48aea9edb426a418b7b38f5c903fcc84fdf5 (diff) |
Btrfs: re-add root to dead root list if we stop dropping it
commit d29a9f629e009c9b90e5859bce581070fd6247fc upstream.
If we stop dropping a root for whatever reason we need to add it back to the
dead root list so that we will re-start the dropping next transaction commit.
The other case this happens is if we recover a drop because we will add a root
without adding it to the fs radix tree, so we can leak it's root and commit root
extent buffer, adding this to the dead root list makes this cleanup happen.
Thanks,
Reported-by: Alex Lyakas <alex.btrfs@zadarastorage.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions