commit | 3d9932a8b240c9019f48358e8a6928c53c2c7f6b | [log] [tgz] |
---|---|---|
author | Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com> | Fri Mar 27 15:36:52 2020 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Mar 27 08:54:06 2020 -0600 |
tree | 2ae3f21e8edc57fce9dd769f814f161631c52d63 | |
parent | bff6035d0c40fa1dd195aa41f61814d622883420 [diff] |
io_uring: cleanup io_alloc_async_ctx() Cleanup io_alloc_async_ctx() a bit, add a new __io_alloc_async_ctx(), so io_setup_async_rw() won't need to check whether async_ctx is true or false again. Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>