Skip to content
Commit 3310c36e authored by Jan Schmidt's avatar Jan Schmidt
Browse files

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: default avatarJan Schmidt <list.btrfs@jan-o-sch.net>
parent 3d7806ec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment