OSDN Git Service

io_uring: use the proper helpers for io_send/recv
authorJens Axboe <axboe@kernel.dk>
Fri, 31 Jan 2020 15:34:59 +0000 (08:34 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Feb 2020 00:27:47 +0000 (17:27 -0700)
commit0b7b21e42ba2d6ac9595a4358a9354249605a3af
tree6c1554824b3b478daf422dac9c8fe98aa91026ba
parentf0b493e6b9a8959356983f57112229e69c2f7b8c
io_uring: use the proper helpers for io_send/recv

Don't use the recvmsg/sendmsg helpers, use the same helpers that the
recv(2) and send(2) system calls use.

Reported-by: 李通洲 <carter.li@eoitek.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c