From: Eric Sandeen <sandeen@sandeen.net>
To: xfs-oss <xfs@oss.sgi.com>
Subject: [PATCH] xfs_repair: remove unconditional ASSERT(0)
Date: Tue, 12 Mar 2013 09:50:21 -0500 [thread overview]
Message-ID: <513F40AD.10303@sandeen.net> (raw)
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>
---
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 (;;) {
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next reply other threads:[~2013-03-12 14:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-12 14:50 Eric Sandeen [this message]
2013-03-12 15:44 ` [PATCH] xfs_repair: remove unconditional ASSERT(0) Rich Johnston
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=513F40AD.10303@sandeen.net \
--to=sandeen@sandeen.net \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.