Dave Kleikamp <[email protected]> writes:

> @@ -1315,10 +1317,10 @@ static ssize_t aio_rw_vect_retry(struct kiocb *iocb)
>  
>       if ((iocb->ki_opcode == IOCB_CMD_PREADV) ||
>               (iocb->ki_opcode == IOCB_CMD_PREAD)) {
> -             rw_op = file->f_op->aio_read;
> +             rw_op = do_aio_read;
>               opcode = IOCB_CMD_PREADV;
>       } else {
> -             rw_op = file->f_op->aio_write;
> +             rw_op = do_aio_read;
>               opcode = IOCB_CMD_PWRITEV;
>       }

That wants to be rw_op = do_aio_write in the else clause.  How did you
test this patch set?

Cheers,
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to