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

Btrfs: fix spinlock assertions on UP systems



btrfs_tree_locked was being used to make sure a given extent_buffer was
properly locked in a few places.  But, it wasn't correct for UP compiled
kernels.

This switches it to using assert_spin_locked instead, and renames it to
btrfs_assert_tree_locked to better reflect how it was really being used.

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