From: Ben Gras Date: Wed, 18 Apr 2012 09:01:15 +0000 (+0200) Subject: block ioctls: pass request number X-Git-Tag: v3.2.1~580 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doxygen.png?a=commitdiff_plain;h=3945cfbfd3635307703c27f364230d568e8f2840;p=minix.git block ioctls: pass request number --- diff --git a/servers/vfs/device.c b/servers/vfs/device.c index 01ee494cb..f08f7df66 100644 --- a/servers/vfs/device.c +++ b/servers/vfs/device.c @@ -175,7 +175,7 @@ static int bdev_ioctl(dev_t dev, endpoint_t proc_e, int req, void *buf) /* Set up a grant if necessary. */ op = VFS_DEV_IOCTL; - (void) safe_io_conversion(dp->dmap_driver, &gid, &op, &proc_e, &buf, 0, + (void) safe_io_conversion(dp->dmap_driver, &gid, &op, &proc_e, &buf, req, &dummy); /* Set up the message passed to the task. */