From e5131ab452310b31282eda6c7ae939adc7623ad0 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Thu, 18 Feb 2010 22:27:38 +0000 Subject: [PATCH] Log attach just like we log detach. --- sys/geom/geom_subr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index ae7ee30745a5..9bef0e3638ff 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -707,6 +707,7 @@ g_attach(struct g_consumer *cp, struct g_provider *pp) 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);