]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfsprogs xfs_repair: remove unconditional ASSERT(0)
authorEric Sandeen <sandeen@sandeen.net>
Tue, 12 Mar 2013 14:50:21 +0000 (14:50 +0000)
committerRich Johnston <rjohnston@sgi.com>
Tue, 12 Mar 2013 15:37:54 +0000 (10:37 -0500)
I don't know what I was thinking in 7e8e3cc, but I added an
ASSERT(0) in the main path.  Obviously this isn't right.

Just remove it.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
repair/scan.c

index 6a62dfff03448a754f964b1cc1e6914c75751a83..76bb7f15ea2fa3fa65751fb25e7c5875db9e51db 100644 (file)
@@ -1076,8 +1076,7 @@ scan_freelist(
                                  "freelist scan\n"), i);
                        return;
                }
-       } else /* should have been fixed in verify_set_agf() */
-               ASSERT(0);
+       }
 
        count = 0;
        for (;;) {