From owner-cvs-all Thu Jul 26 13: 5:26 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0A2CE37B401; Thu, 26 Jul 2001 13:05:21 -0700 (PDT) (envelope-from tmm@FreeBSD.org) Received: (from tmm@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6QK5L326642; Thu, 26 Jul 2001 13:05:21 -0700 (PDT) (envelope-from tmm) Message-Id: <200107262005.f6QK5L326642@freefall.freebsd.org> From: Thomas Moestl Date: Thu, 26 Jul 2001 13:05:20 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/md md.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tmm 2001/07/26 13:05:20 PDT Modified files: sys/dev/md md.c Log: Make sure the total number of sectors is not 0 for a vnode-type md to avoid a division by zero which would occur on open() in this case. Reviewed by: phk Revision Changes Path 1.39 +5 -1 src/sys/dev/md/md.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message