]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/io_uring.c
io_uring: extract io_put_kbuf() helper
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 16 Jul 2020 20:28:04 +0000 (23:28 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 24 Jul 2020 19:00:45 +0000 (13:00 -0600)
commit8ff069bf2efd7b7aeb90b56ea8edc165c93d8940
treef06f788cbb191442aef0ebdc713297f70d4f96d5
parentbc02ef3325e3ef524ef29b65681ca4207b781224
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>
fs/io_uring.c