From: Josef Bacik Date: Wed, 25 Jun 2014 20:45:41 +0000 (-0700) Subject: btrfs: only unlock block in verify_parent_transid if we locked it X-Git-Tag: omap-for-v3.16/fixes-rc4~19^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=472b909ff6f4884d235ef7b9d3847fad5efafbff;p=pandora-kernel.git btrfs: only unlock block in verify_parent_transid if we locked it This is a regression from my patch a26e8c9f75b0bfd8cccc9e8f110737b136eb5994, we need to only unlock the block if we were the one who locked it. Otherwise this will trip BUG_ON()'s in locking.c Thanks, cc: stable@vger.kernel.org Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed