svn commit: r204069 - head/sys/geom
Pawel Jakub Dawidek
pjd at FreeBSD.org
Thu Feb 18 22:27:38 UTC 2010
Author: pjd
Date: Thu Feb 18 22:27:38 2010
New Revision: 204069
URL: http://svn.freebsd.org/changeset/base/204069
Log:
Log attach just like we log detach.
Modified:
head/sys/geom/geom_subr.c
Modified: head/sys/geom/geom_subr.c
==============================================================================
--- head/sys/geom/geom_subr.c Thu Feb 18 22:26:01 2010 (r204068)
+++ head/sys/geom/geom_subr.c Thu Feb 18 22:27:38 2010 (r204069)
@@ -707,6 +707,7 @@ g_attach(struct g_consumer *cp, struct g
g_topology_assert();
G_VALID_CONSUMER(cp);
G_VALID_PROVIDER(pp);
+ g_trace(G_T_TOPOLOGY, "g_attach(%p, %p)", cp, pp);
KASSERT(cp->provider == NULL, ("attach but attached"));
cp->provider = pp;
LIST_INSERT_HEAD(&pp->consumers, cp, consumers);
More information about the svn-src-head
mailing list