aio: use assigned completion handler
authorJens Axboe <axboe@kernel.dk>
Tue, 6 Nov 2018 21:27:13 +0000 (14:27 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 22 Dec 2018 15:22:46 +0000 (08:22 -0700)
commitac0ecc4af4103771e64eaa4026d73b978081ba98
tree7bfc17c1175204e2116b3f041e4c16581333bec8
parent4b9254328254bed12a4ac449cdff2c332e630837
aio: use assigned completion handler

We know this is a read/write request, but in preparation for
having different kinds of those, ensure that we call the assigned
handler instead of assuming it's aio_complete_rq().

Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/aio.c