summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan Zheng <zheng.yan@oracle.com>2010-09-09 13:42:49 +0800
committerChris Mason <chris.mason@oracle.com>2010-09-23 20:26:49 -0400
commit076de67f5bfb98ba4aa1e488321f8306ca964d21 (patch)
treeb0bb018029594871bb551925ae1b1319c59a15f4
parentddf85067bbf93408690465a5f88e208f70889130 (diff)
Remove superfluous WARN_ON in btrfsck
Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
-rw-r--r--btrfsck.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/btrfsck.c b/btrfsck.c
index d8e353e8..af5746f7 100644
--- a/btrfsck.c
+++ b/btrfsck.c
@@ -583,7 +583,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) {