diff options
| author | Yang Xiuwei <yangxiuwei@kylinos.cn> | 2026-07-30 09:09:10 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-08-04 07:00:06 -0600 |
| commit | af0955c8f26aa0f02e534084bc9948a69c9e7ce0 (patch) | |
| tree | 2328a07b58421d7a9c816ab3ecd1f3bf8695a8c0 /include | |
| parent | 758b86f7bc8a2582d0783f3535854ea05d3ff97d (diff) | |
ublk: clear auto buf reg before updating io->buf in batch commit
ublk_batch_commit_io() stored the new auto_buf into io->buf before
calling ublk_clear_auto_buf_reg(). Clear takes the unregister index
from io->buf.auto_reg, so it could drop the new slot and leave the
old registered buffer behind.
Fixes: 1e500e106d5a ("ublk: handle UBLK_U_IO_COMMIT_IO_CMDS")
Signed-off-by: Yang Xiuwei <yangxiuwei@kylinos.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
