• Chris Mason's avatar
    Btrfs: fix spinlock assertions on UP systems · b9447ef8
    Chris Mason authored
    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>
    b9447ef8
extent-tree.c 169 KB