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.2.50~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9b000a7bb45c8cbd2d380f7716b8ef90f1ac68a;p=pandora-kernel.git Btrfs: fix lock leak when resuming snapshot deletion commit fec386ac1428f9c0e672df952cbca5cebd4e4e2f upstream. 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, Reported-by: Alex Lyakas Signed-off-by: Josef Bacik Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed