diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-04-12 14:00:54 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-04-19 16:37:53 +0200 |
commit | bafbd6a1c69fef73500309dc31c86984c6d22b43 (patch) | |
tree | 6572fe65223273c25466929eb9495da066652343 /block/rbd.c | |
parent | adfe92f6d18c0e0a3694e19abb58eb55fd0c5993 (diff) | |
download | qemu-bafbd6a1c69fef73500309dc31c86984c6d22b43.zip qemu-bafbd6a1c69fef73500309dc31c86984c6d22b43.tar.gz qemu-bafbd6a1c69fef73500309dc31c86984c6d22b43.tar.bz2 |
aio: remove process_queue callback and qemu_aio_process_queue
Both unused after the previous patch.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/rbd.c')
-rw-r--r-- | block/rbd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/block/rbd.c b/block/rbd.c index 46a8579..6cd8448 100644 --- a/block/rbd.c +++ b/block/rbd.c @@ -504,7 +504,7 @@ static int qemu_rbd_open(BlockDriverState *bs, const char *filename, int flags) fcntl(s->fds[0], F_SETFL, O_NONBLOCK); fcntl(s->fds[1], F_SETFL, O_NONBLOCK); qemu_aio_set_fd_handler(s->fds[RBD_FD_READ], qemu_rbd_aio_event_reader, - NULL, qemu_rbd_aio_flush_cb, NULL, s); + NULL, qemu_rbd_aio_flush_cb, s); return 0; @@ -525,8 +525,7 @@ static void qemu_rbd_close(BlockDriverState *bs) close(s->fds[0]); close(s->fds[1]); - qemu_aio_set_fd_handler(s->fds[RBD_FD_READ], NULL , NULL, NULL, NULL, - NULL); + qemu_aio_set_fd_handler(s->fds[RBD_FD_READ], NULL, NULL, NULL, NULL); rbd_close(s->image); rados_ioctx_destroy(s->io_ctx); |