• Chris Mason's avatar
    Btrfs: drop WARN_ON from btrfs_add_leaf_ref · 9a5e1ea1
    Chris Mason authored
    btrfs_add_leaf_ref was doing checks on the objects it found in the
    rbtree to make sure they were properly linked into the tree.  But, the field
    it was checking can be safely changed outside of the tree spin lock.
    
    The WARN_ON was for debugging the initial implementation and can be
    safely removed.
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    9a5e1ea1
ref-cache.c 4.74 KB