fs: don't allow to complete sync iocbs through aio_complete
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Feb 2015 18:59:44 +0000 (19:59 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 13 Mar 2015 16:10:22 +0000 (12:10 -0400)
The AIO interface is fairly complex because it tries to allow
filesystems to always work async and then wakeup a synchronous
caller through aio_complete.  It turns out that basically no one
was doing this to avoid the complexity and context switches,
and we've already fixed up the remaining users and can now
get rid of this case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

No differences found