Skip to content
Commit 12f4dacc authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: fix btrfs_unlock_up_safe to walk the entire path



btrfs_unlock_up_safe would break out at the first NULL node entry or
unlocked node it found in the path.

Some of the callers have missing nodes at the lower levels of the path, so this
commit fixes things to check all the nodes in the path before returning.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 4d081c41
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