diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-07-17 19:30:20 -0400 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-07-19 15:07:19 -0400 |
commit | d29a9f629e009c9b90e5859bce581070fd6247fc (patch) | |
tree | c377e799cae8d28b760cc199fdbf69eed1ab86d0 /fs/splice.c | |
parent | fec386ac1428f9c0e672df952cbca5cebd4e4e2f (diff) | |
download | blackbird-op-linux-d29a9f629e009c9b90e5859bce581070fd6247fc.tar.gz blackbird-op-linux-d29a9f629e009c9b90e5859bce581070fd6247fc.zip |
Btrfs: re-add root to dead root list if we stop dropping it
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,
Cc: stable@vger.kernel.org
Reported-by: Alex Lyakas <alex.btrfs@zadarastorage.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions