Sync with upstream API

Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Jens Axboe
2019-01-16 08:41:05 -07:00
parent f16b83b293
commit b93edf5b9e
4 changed files with 7 additions and 25 deletions

View File

@@ -59,7 +59,7 @@ int main(int argc, char *argv[])
sqe->ioprio = 0;
sqe->fd = fd;
sqe->off = offset;
sqe->addr = &iovecs[i];
sqe->addr = (unsigned long) &iovecs[i];
sqe->len = 1;
sqe->buf_index = 0;
offset += iovecs[i].iov_len;