From owner-cvs-sys Mon Feb 10 09:05:35 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA12349 for cvs-sys-outgoing; Mon, 10 Feb 1997 09:05:35 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA12341; Mon, 10 Feb 1997 09:05:33 -0800 (PST) Date: Mon, 10 Feb 1997 09:05:33 -0800 (PST) From: Mike Pritchard Message-Id: <199702101705.JAA12341@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/02/10 09:05:32 Modified: sys/ufs/ffs ffs_alloc.c Log: Correct the new Lite2 #ifdef DIAGNOSTIC ffs_checkblk routine to not return without setting a return value when it can't read a block error or detects a bad cylinder group, since the caller is expecting a return value. It will now panic at this point, since the thing to do in this case would be to return a "bad block" status to the caller, and the caller will panic anyways when that happens. Also updated to panic strings in this routine to read "ffs_checkblk: ..." instead of "checkblk: ...". Revision Changes Path 1.29 +8 -11 src/sys/ufs/ffs/ffs_alloc.c