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>
Thu, 21 Jul 2022 14:46:58 +0000 (08:46 -0600)
commit678575394c97a3c962b9d4521e9acf4598e094c3
tree23c486932b43342eb9bb959282a9aec41ffda8b8
parent527adb7ef32c5dcb89a99a1cea3f63010bcde8df
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