kern/132273: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Wed May 18 16:30:15 UTC 2011


The following reply was made to PR kern/132273; it has been noted by GNATS.

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: kern/132273: commit references a PR
Date: Wed, 18 May 2011 16:28:47 +0000 (UTC)

 Author: ae
 Date: Wed May 18 16:28:28 2011
 New Revision: 222067
 URL: http://svn.freebsd.org/changeset/base/222067
 
 Log:
   MFC r221433:
     When checking existence of providers skip those which are orphaned.
   
     PR:		kern/132273
 
 Modified:
   stable/7/sys/geom/label/g_label.c
 Directory Properties:
   stable/7/sys/   (props changed)
   stable/7/sys/cddl/contrib/opensolaris/   (props changed)
   stable/7/sys/contrib/dev/acpica/   (props changed)
   stable/7/sys/contrib/pf/   (props changed)
 
 Modified: stable/7/sys/geom/label/g_label.c
 ==============================================================================
 --- stable/7/sys/geom/label/g_label.c	Wed May 18 16:20:28 2011	(r222066)
 +++ stable/7/sys/geom/label/g_label.c	Wed May 18 16:28:28 2011	(r222067)
 @@ -161,6 +161,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 at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
 


More information about the freebsd-geom mailing list