diff options
author | pjd <pjd@FreeBSD.org> | 2010-02-18 22:27:38 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-02-18 22:27:38 +0000 |
commit | bcd34167f71098eb36faba4975cee1e36a31389e (patch) | |
tree | 646c052ae9be2e6442e0a99c4bdb145c7d6604e5 /sys/geom/geom_subr.c | |
parent | c52745233691fed8f1c6a53ff3187cd7f70c831d (diff) | |
download | FreeBSD-src-bcd34167f71098eb36faba4975cee1e36a31389e.zip FreeBSD-src-bcd34167f71098eb36faba4975cee1e36a31389e.tar.gz |
Log attach just like we log detach.
Diffstat (limited to 'sys/geom/geom_subr.c')
-rw-r--r-- | sys/geom/geom_subr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index ae7ee30..9bef0e3 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); |