Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2009 22:31:53 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193131 - head/sys/geom/label
Message-ID:  <200905302231.n4UMVrKP021578@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dougb
Date: Sat May 30 22:31:52 2009
New Revision: 193131
URL: http://svn.freebsd.org/changeset/base/193131

Log:
  Crank the debug level necessary to display the "Label foo is removed"
  and "Label for provider ..." messages up from 0 to 1.

Modified:
  head/sys/geom/label/g_label.c

Modified: head/sys/geom/label/g_label.c
==============================================================================
--- head/sys/geom/label/g_label.c	Sat May 30 22:31:46 2009	(r193130)
+++ head/sys/geom/label/g_label.c	Sat May 30 22:31:52 2009	(r193131)
@@ -104,7 +104,7 @@ static void
 g_label_orphan(struct g_consumer *cp)
 {
 
-	G_LABEL_DEBUG(0, "Label %s removed.",
+	G_LABEL_DEBUG(1, "Label %s removed.",
 	    LIST_FIRST(&cp->geom->provider)->name);
 	g_slice_orphan(cp);
 }
@@ -113,7 +113,7 @@ static void
 g_label_spoiled(struct g_consumer *cp)
 {
 
-	G_LABEL_DEBUG(0, "Label %s removed.",
+	G_LABEL_DEBUG(1, "Label %s removed.",
 	    LIST_FIRST(&cp->geom->provider)->name);
 	g_slice_spoiled(cp);
 }
@@ -181,7 +181,7 @@ g_label_create(struct gctl_req *req, str
 	g_access(cp, -1, 0, 0);
 	g_slice_config(gp, 0, G_SLICE_CONFIG_SET, (off_t)0, mediasize,
 	    pp->sectorsize, name);
-	G_LABEL_DEBUG(0, "Label for provider %s is %s.", pp->name, name);
+	G_LABEL_DEBUG(1, "Label for provider %s is %s.", pp->name, name);
 	return (gp);
 }
 
@@ -203,7 +203,7 @@ g_label_destroy(struct g_geom *gp, boole
 			return (EBUSY);
 		}
 	} else {
-		G_LABEL_DEBUG(0, "Label %s removed.",
+		G_LABEL_DEBUG(1, "Label %s removed.",
 		    LIST_FIRST(&gp->provider)->name);
 	}
 	g_slice_spoiled(LIST_FIRST(&gp->consumer));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905302231.n4UMVrKP021578>