commit | 8ff069bf2efd7b7aeb90b56ea8edc165c93d8940 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Jul 16 23:28:04 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jul 24 13:00:45 2020 -0600 |
tree | f06f788cbb191442aef0ebdc713297f70d4f96d5 | |
parent | bc02ef3325e3ef524ef29b65681ca4207b781224 [diff] |
io_uring: extract io_put_kbuf() helper Extract a common helper for cleaning up a selected buffer, this will be used shortly. By the way, correct cflags types to unsigned and, as kbufs are anyway tracked by a flag, remove useless zeroing req->rw.addr. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>