From: Jan Schmidt Date: Mon, 11 Jun 2012 08:52:38 +0000 (+0200) Subject: Btrfs: fix race in tree mod log addition X-Git-Tag: v3.5-rc3~18^2~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3310c36eef330766fd23d50796287ad764929e24;p=pandora-kernel.git Btrfs: fix race in tree mod log addition When adding to the tree modification log, we grab two locks at different stages. We must not drop the outer lock until we're done with section protected by the inner lock. This moves the unlock call for the outer lock to the appropriate position. Signed-off-by: Jan Schmidt --- Reading git-diff-tree failed