aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2023-07-26 22:45:02 +0800
committerJens Axboe <[email protected]>2023-07-27 07:17:36 -0600
commit3e9dce80dbf91972aed972c743f539c396a34312 (patch)
treea2f03af3a060d04df4e6bb091f3becd82bb68030 /lib/test_fortify/write_overflow-memcpy.c
parent0c0cbd4ebc375ceebc75c89df04b74f215fab23a (diff)
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/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions