Skip to contentSkip to conversation

btrfsck: Remove superfluous WARN_ON

PATCH New Yan, Zheng 1 participant 1 message Feb 1, 2010 Btrfs file system

lore
Share & tools
lore

Yan, Zheng

author
#0 lore raw

PATCH 1/1 btrfsck: Remove superfluous WARN_ON

---

btrfsck.c +0 -1
diff -urp btrfs-progs-unstable/btrfsck.c btrfs-progs-2/btrfsck.c
@@ -581,7 +581,6 @@ again:
 		}
 		ret = insert_existing_cache_extent(dst, &ins->cache);
 		if (ret == -EEXIST) {
-			WARN_ON(src == &src_node->root_cache);
 			conflict = get_inode_rec(dst, rec->ino, 1);
 			merge_inode_recs(rec, conflict, dst);
 			if (rec->checked) {