summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_bsd.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-04-23 20:46:12 +0000
committerphk <phk@FreeBSD.org>2003-04-23 20:46:12 +0000
commit3bbfe9f43b9f428fa76cf6b43be961ff03071025 (patch)
tree2d203b1d0b7761a17e73c3483c4149f9172a544b /sys/geom/geom_bsd.c
parentf0e2ab20a0f8aec13b4380cbf6075819af64c9a7 (diff)
downloadFreeBSD-src-3bbfe9f43b9f428fa76cf6b43be961ff03071025.zip
FreeBSD-src-3bbfe9f43b9f428fa76cf6b43be961ff03071025.tar.gz
Rename g_call_me() to g_post_event(), and give it a flag
argument to determine if we can M_WAITOK in malloc.
Diffstat (limited to 'sys/geom/geom_bsd.c')
-rw-r--r--sys/geom/geom_bsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/geom_bsd.c b/sys/geom/geom_bsd.c
index b528361..1f289d8 100644
--- a/sys/geom/geom_bsd.c
+++ b/sys/geom/geom_bsd.c
@@ -345,7 +345,7 @@ g_bsd_try(struct g_geom *gp, struct g_slicer *gsp, struct g_consumer *cp, int se
/*
* Implement certain ioctls to modify disklabels with. This function
* is called by the event handler thread with topology locked as result
- * of the g_call_me() in g_bsd_start(). It is not necessary to keep
+ * of the g_post_event() in g_bsd_start(). It is not necessary to keep
* topology locked all the time but make sure to return with topology
* locked as well.
*/
@@ -592,7 +592,7 @@ g_bsd_start(struct bio *bp)
* some I/O requests. Ask the event-handler to schedule
* us in a less restricted environment.
*/
- error = g_call_me(g_bsd_ioctl, bp, gp, NULL);
+ error = g_post_event(g_bsd_ioctl, bp, M_NOWAIT, gp, NULL);
if (error)
g_io_deliver(bp, error);
/*
OpenPOWER on IntegriCloud