From owner-freebsd-geom@FreeBSD.ORG Wed May 4 13:10:12 2011 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB3EF106567B for ; Wed, 4 May 2011 13:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5EBA68FC19 for ; Wed, 4 May 2011 13:10:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p44DA78u082774 for ; Wed, 4 May 2011 13:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p44DA7bs082773; Wed, 4 May 2011 13:10:07 GMT (envelope-from gnats) Date: Wed, 4 May 2011 13:10:07 GMT Message-Id: <201105041310.p44DA7bs082773@freefall.freebsd.org> To: freebsd-geom@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: kern/132273: commit references a PR X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2011 13:10:12 -0000 The following reply was made to PR kern/132273; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/132273: commit references a PR Date: Wed, 4 May 2011 13:07:04 +0000 (UTC) Author: ae Date: Wed May 4 12:59:11 2011 New Revision: 221433 URL: http://svn.freebsd.org/changeset/base/221433 Log: When checking existence of providers skip those which are orphaned. PR: kern/132273 MFC after: 2 week Modified: head/sys/geom/label/g_label.c Modified: head/sys/geom/label/g_label.c ============================================================================== --- head/sys/geom/label/g_label.c Wed May 4 12:48:02 2011 (r221432) +++ head/sys/geom/label/g_label.c Wed May 4 12:59:11 2011 (r221433) @@ -164,6 +164,8 @@ g_label_create(struct gctl_req *req, str pp2 = LIST_FIRST(&gp->provider); if (pp2 == NULL) continue; + if ((pp2->flags & G_PF_ORPHAN) != 0) + continue; if (strcmp(pp2->name, name) == 0) { G_LABEL_DEBUG(1, "Label %s(%s) already exists (%s).", label, name, pp->name); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"