btrfs: fix locking issues in find_parent_nodes()
authorLi Zefan <lizf@cn.fujitsu.com>
Sat, 3 Mar 2012 12:41:15 +0000 (07:41 -0500)
committerChris Mason <chris.mason@oracle.com>
Sat, 3 Mar 2012 12:41:15 +0000 (07:41 -0500)
- We might unlock head->mutex while it was not locked
- We might leave the function without unlocking delayed_refs->lock

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found