From owner-cvs-src@FreeBSD.ORG Mon Aug 15 17:07:48 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E66816A421; Mon, 15 Aug 2005 17:07:48 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CED643D46; Mon, 15 Aug 2005 17:07:48 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7FH7lPH080968; Mon, 15 Aug 2005 17:07:47 GMT (envelope-from le@repoman.freebsd.org) Received: (from le@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7FH7lZQ080967; Mon, 15 Aug 2005 17:07:47 GMT (envelope-from le) Message-Id: <200508151707.j7FH7lZQ080967@repoman.freebsd.org> From: Lukas Ertl Date: Mon, 15 Aug 2005 17:07:47 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/geom/vinum geom_vinum.c geom_vinum_drive.c geom_vinum_var.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2005 17:07:48 -0000 le 2005-08-15 17:07:47 UTC FreeBSD src repository Modified files: sys/geom/vinum geom_vinum.c geom_vinum_drive.c geom_vinum_var.h Log: Fix a stupid logic bug introduced in geom_vinum_drive.c rev 1.18: When a drive is newly created, it's state is initially set to 'down', so it won't allow saving the config to it (thus it will never know of itself being created). Work around this by adding a new flag, that's also checked when saving the config to a drive. Revision Changes Path 1.17 +2 -0 src/sys/geom/vinum/geom_vinum.c 1.19 +6 -1 src/sys/geom/vinum/geom_vinum_drive.c 1.10 +1 -0 src/sys/geom/vinum/geom_vinum_var.h