win32-aio: use iov utility functions instead of open-coding them
commit3249dbe661ba6ef108ecde97c54b4a4104d719c3
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 17 Jan 2013 14:47:52 +0000 (17 18:47 +0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 18 Jan 2013 08:57:51 +0000 (18 09:57 +0100)
tree00fc52fd1ff2c75f3994c4bb6c522bf2528de145
parente8bccad5ac6095b5af7946cd72d9aacb57f7c0a3
win32-aio: use iov utility functions instead of open-coding them

We have iov_from_buf() and iov_to_buf(), use them instead of
open-coding these in block/win32-aio.c

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/win32-aio.c