summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJan Schmidt <list.btrfs@jan-o-sch.net>2012-06-11 10:52:38 +0200
committerJan Schmidt <list.btrfs@jan-o-sch.net>2012-06-14 18:52:39 +0200
commit3310c36eef330766fd23d50796287ad764929e24 (patch)
tree536c3d52b7ff1044d0a00ca86fd436c846d486ab /samples
parent3d7806eca43e73a9721d2e09369200ed93036bd0 (diff)
downloadlinux-3310c36eef330766fd23d50796287ad764929e24.tar.bz2
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions