From: Jan Schmidt Date: Fri, 23 Mar 2012 16:32:28 +0000 (+0100) Subject: Btrfs: fix regression in scrub path resolving X-Git-Tag: v3.4-rc1~22^2~11^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a3ae2f8c8c8432e65467b7fc84d5deab04061a0;p=pandora-kernel.git Btrfs: fix regression in scrub path resolving In commit 4692cf58 we introduced new backref walking code for btrfs. This assumes we're searching live roots, which requires a transaction context. While scrubbing, however, we must not join a transaction because this could deadlock with the commit path. Additionally, what scrub really wants to do is resolving a logical address in the commit root it's currently checking. This patch adds support for logical to path resolving on commit roots and makes scrub use that. Signed-off-by: Jan Schmidt --- Reading git-diff-tree failed