aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/btrfs/ref-cache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/ref-cache.c b/fs/btrfs/ref-cache.c
index c5809988c875..30fcb7aea5b5 100644
--- a/fs/btrfs/ref-cache.c
+++ b/fs/btrfs/ref-cache.c
@@ -67,7 +67,6 @@ static struct rb_node *tree_insert(struct rb_root *root, u64 bytenr,
67 while(*p) { 67 while(*p) {
68 parent = *p; 68 parent = *p;
69 entry = rb_entry(parent, struct btrfs_leaf_ref, rb_node); 69 entry = rb_entry(parent, struct btrfs_leaf_ref, rb_node);
70 WARN_ON(!entry->in_tree);
71 70
72 if (bytenr < entry->bytenr) 71 if (bytenr < entry->bytenr)
73 p = &(*p)->rb_left; 72 p = &(*p)->rb_left;