Messages in this thread |  | | | Subject | Re: [PATCH -mm 3/3][AIO] - AIO completion signal notification | | From | Sébastien Dugué <> | | Date | Fri, 10 Nov 2006 10:22:10 +0100 |
| |
On Thu, 2006-11-09 at 11:18 -0800, Badari Pulavarty wrote: > On Thu, 2006-11-09 at 16:59 +0100, Sébastien Dugué wrote: > > > @@ -1549,8 +1657,7 @@ int fastcall io_submit_one(struct kioctx > > ssize_t ret; > > > > /* enforce forwards compatibility on users */ > > - if (unlikely(iocb->aio_reserved1 || iocb->aio_reserved2 || > > - iocb->aio_reserved3)) { > > + if (unlikely(iocb->aio_reserved1)) { > > pr_debug("EINVAL: io_submit: reserve field set\n"); > > return -EINVAL; > > Is there a reason for not checking "aio_reserved3" ? > You are still not using it. Right ? >
Yep, forgot this one.
Thanks,
Sébastien.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |