From: Josef Bacik Date: Thu, 27 Mar 2014 23:41:34 +0000 (-0400) Subject: Btrfs: check for an extent_op on the locked ref X-Git-Tag: v3.15-rc1~23^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=573a075567f0174551e2fad2a3164afd2af788f2;p=pandora-kernel.git Btrfs: check for an extent_op on the locked ref We could have possibly added an extent_op to the locked_ref while we dropped locked_ref->lock, so check for this case as well and loop around. Otherwise we could lose flag updates which would lead to extent tree corruption. Thanks, cc: stable@vger.kernel.org Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed