From: Nathan Scott Date: Fri, 17 May 2002 03:17:50 +0000 (+0000) Subject: make us more tolerant in the face of failure - continue gracefully, X-Git-Tag: v2.1.0~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65d2c7551637c8c800c03d9d816506c2e1cfd298;p=thirdparty%2Fxfsprogs-dev.git make us more tolerant in the face of failure - continue gracefully, don't dump core. theres still a problem lurking here somewhere for 1K blocksizes though.. --- diff --git a/repair/phase4.c b/repair/phase4.c index 41103ff84..f7c99ee82 100644 --- a/repair/phase4.c +++ b/repair/phase4.c @@ -237,7 +237,8 @@ longform_delete_orphanage(xfs_mount_t *mp, res = 0; do { - ASSERT(fsbno != NULLDFSBNO); + if (fsbno == NULLDFSBNO) + break; bp = libxfs_readbuf(mp->m_dev, XFS_FSB_TO_DADDR(mp, fsbno), XFS_FSB_TO_BB(mp, 1), 0); if (!bp) {