Skip to content
Commit 969127bf authored by Ronnie Sahlberg's avatar Ronnie Sahlberg Committed by Jens Axboe
Browse files

ublk: sanity check add_dev input for underflow



Add additional checks that queue depth and number of queues are
non-zero.

Signed-off-by: default avatarRonnie Sahlberg <rsahlberg@whamcloud.com>
Reviewed-by: default avatarMing Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250626022046.235018-1-ronniesahlberg@gmail.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 4c8a9517
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment