summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_pc98.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-04-02 20:41:18 +0000
committerphk <phk@FreeBSD.org>2003-04-02 20:41:18 +0000
commitcedf04c4758318e15e1a5924e4226bb5a9699107 (patch)
treebb0413612f4b063a82d75d5551149f4526dbc56d /sys/geom/geom_pc98.c
parent021eeb20207634119a2920f756b6eba04148bbf9 (diff)
downloadFreeBSD-src-cedf04c4758318e15e1a5924e4226bb5a9699107.zip
FreeBSD-src-cedf04c4758318e15e1a5924e4226bb5a9699107.tar.gz
Change events to have an array of "void *" references, and give the
event posting functions varargs to fill these. Attribute g_call_me() to appropriate g_geom's where necessary. Add a flag argument to g_call_me() methods which will be used to signal cancellation of events in the future. This commit should be a no-op.
Diffstat (limited to 'sys/geom/geom_pc98.c')
-rw-r--r--sys/geom/geom_pc98.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/geom_pc98.c b/sys/geom/geom_pc98.c
index 443d923..390ac95 100644
--- a/sys/geom/geom_pc98.c
+++ b/sys/geom/geom_pc98.c
@@ -160,7 +160,7 @@ g_pc98_modify(struct g_geom *gp, struct g_pc98_softc *ms, u_char *sec)
}
static void
-g_pc98_ioctl(void *arg)
+g_pc98_ioctl(void *arg, int flag __unused)
{
struct bio *bp;
struct g_geom *gp;
@@ -234,7 +234,7 @@ g_pc98_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_pc98_ioctl, bp);
+ error = g_call_me(g_pc98_ioctl, bp, gp, NULL);
if (error)
g_io_deliver(bp, error);
/*
OpenPOWER on IntegriCloud