aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xarray.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2023-07-26 14:45:02 +0000
committerJens Axboe <[email protected]>2023-07-27 13:17:36 +0000
commit3e9dce80dbf91972aed972c743f539c396a34312 (patch)
treea2f03af3a060d04df4e6bb091f3becd82bb68030 /lib/xarray.c
parentublk: fail to recover device if queue setup is interrupted (diff)
downloadkernel-3e9dce80dbf91972aed972c743f539c396a34312.tar.gz
kernel-3e9dce80dbf91972aed972c743f539c396a34312.zip
ublk: return -EINTR if breaking from waiting for existed users in DEL_DEV
If user interrupts wait_event_interruptible() in ublk_ctrl_del_dev(), return -EINTR and let user know what happens. Fixes: 0abe39dec065 ("block: ublk: improve handling device deletion") Reported-by: Stefano Garzarella <[email protected]> Signed-off-by: Ming Lei <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions