• C
    Btrfs: fix spinlock assertions on UP systems · b9447ef8
    Chris Mason 提交于
    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: NChris Mason <chris.mason@oracle.com>
    b9447ef8
locking.c 6.0 KB