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>
Thu, 29 Aug 2024 14:44:38 +0000 (08:44 -0600)
commitecd5c9b29643f383d39320e30d21b8615bd893da
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