aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/multiorder.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2023-07-26 22:45:01 +0800
committerJens Axboe <axboe@kernel.dk>2023-07-27 07:17:36 -0600
commit0c0cbd4ebc375ceebc75c89df04b74f215fab23a (patch)
treee4855ee85164efa5e1aebc9329e8634f0c11fab3 /tools/testing/radix-tree/multiorder.c
parent53e7d08f6d6e214c40db1f51291bb2975c789dc2 (diff)
ublk: fail to recover device if queue setup is interrupted
In ublk_ctrl_end_recovery(), if wait_for_completion_interruptible() is interrupted by signal, queues aren't setup successfully yet, so we have to fail UBLK_CMD_END_USER_RECOVERY, otherwise kernel oops can be triggered. Fixes: c732a852b419 ("ublk_drv: add START_USER_RECOVERY and END_USER_RECOVERY support") Reported-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Link: https://lore.kernel.org/r/20230726144502.566785-3-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/testing/radix-tree/multiorder.c')
0 files changed, 0 insertions, 0 deletions