From: Josef Bacik Date: Sun, 11 Sep 2011 14:52:24 +0000 (-0400) Subject: Btrfs: skip locking if searching the commit root in csum lookup X-Git-Tag: v3.1-rc6~4^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddf23b3fc6850bd4654d51ec9457fe7c77cde51e;p=pandora-kernel.git Btrfs: skip locking if searching the commit root in csum lookup It's not enough to just search the commit root, since we could be cow'ing the very block we need to search through, which would mean that its locked and we'll still deadlock. So use path->skip_locking as well. Thanks, Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed