]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
Btrfs: drop WARN_ON from btrfs_add_leaf_ref
authorChris Mason <chris.mason@oracle.com>
Mon, 29 Sep 2008 15:24:41 +0000 (11:24 -0400)
committerChris Mason <chris.mason@oracle.com>
Mon, 29 Sep 2008 15:24:41 +0000 (11:24 -0400)
commit9a5e1ea1e1e539e244a54afffc330fc368376ab9
tree87b48444ba411ff6d87a87190faf5a3d912765d1
parent8c8bee1d7ca47fc75b6bd24a8085c525a2394c02
Btrfs: drop WARN_ON from btrfs_add_leaf_ref

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: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ref-cache.c