diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-07-16 23:28:05 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-24 13:00:45 -0600 |
commit | 7fbb1b541f4286cc337b9bca1e5bad0ce4ee978c (patch) | |
tree | 15c4e1399e78d6b9cafd4ba8205cd2d9fe4f579a /arch/m68k | |
parent | 8ff069bf2efd7b7aeb90b56ea8edc165c93d8940 (diff) | |
download | linux-7fbb1b541f4286cc337b9bca1e5bad0ce4ee978c.tar.gz linux-7fbb1b541f4286cc337b9bca1e5bad0ce4ee978c.tar.bz2 linux-7fbb1b541f4286cc337b9bca1e5bad0ce4ee978c.zip |
io_uring: don't open-code recv kbuf managment
Don't implement fast path of kbuf freeing and management inlined into
io_recv{,msg}(), that's error prone and duplicates handling. Replace it
with a helper io_put_recv_kbuf(), which mimics io_put_rw_kbuf() in the
io_read/write().
This also keeps cflags calculation in one place, removing duplication
between rw and recv/send.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions