diff options
author | phk <phk@FreeBSD.org> | 2003-04-23 20:46:12 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-04-23 20:46:12 +0000 |
commit | 3bbfe9f43b9f428fa76cf6b43be961ff03071025 (patch) | |
tree | 2d203b1d0b7761a17e73c3483c4149f9172a544b /sys/geom/geom_slice.c | |
parent | f0e2ab20a0f8aec13b4380cbf6075819af64c9a7 (diff) | |
download | FreeBSD-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_slice.c')
-rw-r--r-- | sys/geom/geom_slice.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/geom_slice.c b/sys/geom/geom_slice.c index 2474143..2d31b7c 100644 --- a/sys/geom/geom_slice.c +++ b/sys/geom/geom_slice.c @@ -210,7 +210,8 @@ g_slice_start(struct bio *bp) g_io_deliver(bp, error); return; case G_SLICE_HOT_CALL: - error = g_call_me(gsp->hot, bp, gp, NULL); + error = g_post_event(gsp->hot, bp, M_NOWAIT, + gp, NULL); if (error) g_io_deliver(bp, error); return; |