Skip to content
Commit fec386ac authored by Josef Bacik's avatar Josef Bacik
Browse files

Btrfs: fix lock leak when resuming snapshot deletion



We aren't setting path->locks[level] when we resume a snapshot deletion which
means we won't unlock the buffer when we free the path.  This causes deadlocks
if we happen to re-allocate the block before we've evicted the extent buffer
from cache.  Thanks,

Cc: stable@vger.kernel.org
Reported-by: default avatarAlex Lyakas <alex.btrfs@zadarastorage.com>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
parent 3c8f2422
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment