io_uring/kbuf: add io_kbuf_commit() helper
authorJens Axboe <axboe@kernel.dk>
Mon, 12 Aug 2024 15:18:35 +0000 (09:18 -0600)
committerJens Axboe <axboe@kernel.dk>
Sun, 25 Aug 2024 14:27:18 +0000 (08:27 -0600)
commit19478abca623bed49ec06429c45c26c87ac0013a
tree42df173926bdb439e9c62e129dd0a2d410b10e37
parent120443321dfaaab8eb9290af617abcc37734c1e2
io_uring/kbuf: add io_kbuf_commit() helper

Committing the selected ring buffer is currently done in three different
spots, combine it into a helper and just call that.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/kbuf.c
io_uring/kbuf.h