]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c212ec78e88378c386a3600bb70c9317d91b736
treef06f788cbb191442aef0ebdc713297f70d4f96d5
parent8244befe1f251d877812f14bd903fc2aaaf71f61
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