io_uring/kbuf: drop 'issue_flags' from io_put_kbuf(s)() arguments
authorJens Axboe <axboe@kernel.dk>
Wed, 20 Aug 2025 22:23:09 +0000 (16:23 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Aug 2025 00:35:05 +0000 (18:35 -0600)
commit23c9bc76bf121c9de0c5679db9bab9cc3db20295
treea393c531dd3502fea0776ff5db4c4a2b55440f47
parent3592de539378eef0120e0720a8ecd8dfc96a5d9f
io_uring/kbuf: drop 'issue_flags' from io_put_kbuf(s)() arguments

Picking multiple buffers always requires the ring lock to be held across
the operation, so there's no need to pass in the issue_flags to
io_put_kbufs(). On the single buffer side, if the initial picking of a
ring buffer was unlocked, then it will have been committed already. For
legacy buffers, no locking is required, as they will simply be freed.

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