diff options
author | phk <phk@FreeBSD.org> | 2003-04-02 20:41:18 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-04-02 20:41:18 +0000 |
commit | cedf04c4758318e15e1a5924e4226bb5a9699107 (patch) | |
tree | bb0413612f4b063a82d75d5551149f4526dbc56d /sys/geom/geom_mbr.c | |
parent | 021eeb20207634119a2920f756b6eba04148bbf9 (diff) | |
download | FreeBSD-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_mbr.c')
-rw-r--r-- | sys/geom/geom_mbr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/geom_mbr.c b/sys/geom/geom_mbr.c index b60bc22..5b24938 100644 --- a/sys/geom/geom_mbr.c +++ b/sys/geom/geom_mbr.c @@ -173,7 +173,7 @@ g_mbr_modify(struct g_geom *gp, struct g_mbr_softc *ms, u_char *sec0) } static void -g_mbr_ioctl(void *arg) +g_mbr_ioctl(void *arg, int flag __unused) { struct bio *bp; struct g_geom *gp; @@ -249,7 +249,7 @@ g_mbr_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_mbr_ioctl, bp); + error = g_call_me(g_mbr_ioctl, bp, gp, NULL); if (error) g_io_deliver(bp, error); /* |