diff mbox

btrfsck: Remove superfluous WARN_ON

Message ID 4B6645BE.4060903@oracle.com (mailing list archive)
State New, archived
Headers show

Commit Message

Yan, Zheng Feb. 1, 2010, 3:08 a.m. UTC
None
diff mbox

Patch

diff -urp btrfs-progs-unstable/btrfsck.c btrfs-progs-2/btrfsck.c
--- btrfs-progs-unstable/btrfsck.c	2009-09-28 15:54:55.980479398 +0800
+++ btrfs-progs-2/btrfsck.c	2010-01-31 09:46:24.645485459 +0800
@@ -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) {