From owner-cvs-all Mon Mar 29 21: 1:27 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 10DAB1587E; Mon, 29 Mar 1999 21:01:24 -0800 (PST) (envelope-from grog@FreeBSD.org) Received: (from grog@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id VAA98761; Mon, 29 Mar 1999 21:01:07 -0800 (PST) (envelope-from grog@FreeBSD.org) Message-Id: <199903300501.VAA98761@freefall.freebsd.org> From: Greg Lehey Date: Mon, 29 Mar 1999 21:01:07 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/vinum vinumioctl.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk grog 1999/03/29 21:01:07 PST Modified files: sys/dev/vinum vinumioctl.c Log: Revise use of the vinum_conf variables drives_used, subdisks_used, plexes_used and volumes_used. Now these fields are only informative, and the _allocated count is used for searches, etc. This also required checking the object state before doing things with the presumed object. Problems-reported-by: Kiril Mitev VINUM_CONFIG: return ENXIO rather than EFAULT if an object doesn't exist. Revision Changes Path 1.13 +33 -33 src/sys/dev/vinum/vinumioctl.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message