commit | 3310c36eef330766fd23d50796287ad764929e24 | [log] [tgz] |
---|---|---|
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | Mon Jun 11 10:52:38 2012 +0200 |
committer | Jan Schmidt <list.btrfs@jan-o-sch.net> | Thu Jun 14 18:52:39 2012 +0200 |
tree | 536c3d52b7ff1044d0a00ca86fd436c846d486ab | |
parent | 3d7806eca43e73a9721d2e09369200ed93036bd0 [diff] |
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 <list.btrfs@jan-o-sch.net>