From: Josef Bacik Date: Mon, 15 Jul 2013 16:41:42 +0000 (-0400) Subject: Btrfs: fix lock leak when resuming snapshot deletion X-Git-Tag: v3.11-rc2~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fec386ac1428f9c0e672df952cbca5cebd4e4e2f;p=pandora-kernel.git 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: Alex Lyakas Signed-off-by: Josef Bacik --- Reading git-diff-tree failed