summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_dump.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-04-23 21:28:27 +0000
committerphk <phk@FreeBSD.org>2003-04-23 21:28:27 +0000
commitffd04bfbddd49c6770b05d62b4d4aa441be8e345 (patch)
tree2f6f2067280259902445ac8d739f9808ae338173 /sys/geom/geom_dump.c
parent89702db8fc31b7c5f4d8f4489268abaa95cbeb52 (diff)
downloadFreeBSD-src-ffd04bfbddd49c6770b05d62b4d4aa441be8e345.zip
FreeBSD-src-ffd04bfbddd49c6770b05d62b4d4aa441be8e345.tar.gz
Introduce a g_waitfor_event() function which posts an event and waits for
it to be run (or cancelled) and use this instead of home-rolled versions.
Diffstat (limited to 'sys/geom/geom_dump.c')
-rw-r--r--sys/geom/geom_dump.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/geom/geom_dump.c b/sys/geom/geom_dump.c
index 3f064b3..c56a25d 100644
--- a/sys/geom/geom_dump.c
+++ b/sys/geom/geom_dump.c
@@ -106,7 +106,6 @@ g_confdot(void *p, int flag )
g_confdot_class(sb, mp);
sbuf_printf(sb, "};\n");
sbuf_finish(sb);
- wakeup(p);
}
static void
@@ -150,7 +149,6 @@ g_conftxt(void *p, int flag)
if (mp != NULL)
g_conftxt_class(sb, mp);
sbuf_finish(sb);
- wakeup(p);
}
@@ -260,7 +258,6 @@ g_confxml(void *p, int flag)
KASSERT(flag != EV_CANCEL, ("g_confxml was cancelled"));
g_topology_assert();
g_conf_specific(p, NULL, NULL, NULL, NULL);
- wakeup(p);
}
void
OpenPOWER on IntegriCloud