[PATCH] xfs_repair: remove unconditional ASSERT(0)
Eric Sandeen
sandeen at sandeen.net
Tue Mar 12 09:50:21 CDT 2013
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 at redhat.com>
---
Really sorry, no idea what is up w/ my brain lately.
Trying to do too many things at once, too quickly.
diff --git a/repair/scan.c b/repair/scan.c
index 6a62dff..76bb7f1 100644
--- a/repair/scan.c
+++ b/repair/scan.c
@@ -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 (;;) {
More information about the xfs
mailing list