]> git.neil.brown.name Git - LaFS.git/commitdiff
Demote check_credits from BUG to WARNING.
authorNeilBrown <neilb@suse.de>
Tue, 25 Aug 2009 07:09:54 +0000 (17:09 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 25 Aug 2009 07:09:54 +0000 (17:09 +1000)
Races and other things can cause inbalances.

segments.c

index 3a64b16ce23c8b92232d8eb0423f83ddc5cfa23e..0534f58c30f7400e361933eb7297a68951e6411b 100644 (file)
@@ -556,7 +556,7 @@ static void check_credits(struct fs *fs)
                       fs->cluster_updates, temp_credits,
                       (int)fs->allocated_blocks);
                lafs_dump_tree();
-               BUG_ON(1);
+               WARN_ON(1);
        }
 }