fix asynchronous ioctls
authorChristoph Hellwig <hch@lst.de>
Tue, 28 Apr 2009 09:57:02 +0000 (11:57 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 8 May 2009 20:51:19 +0000 (15:51 -0500)
commite7d54ae83c4ffb63a2481d17f136110ab421afc5
tree5f34bdff519f062441f1eb9b7c0911b63a77483a
parente8a6aec9b5e062ca8d14ae0e14efda17ae9685d8
fix asynchronous ioctls

posix_aio_read expect aio requests to return the number of bytes
requests to be successfull, so we need to fake this up for ioctls.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
posix-aio-compat.c