OSDN Git Service

io_uring: restore bgid in io_put_kbuf
authorDylan Yudaken <dylany@fb.com>
Thu, 30 Jun 2022 09:12:21 +0000 (02:12 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:16 +0000 (18:39 -0600)
commit32f3c434b14238a2eee0c726a1918de58c07faf6
tree0a636f8067fcc325416a3a6cbc686a33ba521749
parentb8c015598c8ef9195b8a2a5089e275c4f64ca999
io_uring: restore bgid in io_put_kbuf

Attempt to restore bgid. This is needed when recycling unused buffers as
the next time around it will want the correct bgid.

Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220630091231.1456789-3-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/kbuf.h