Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blktests: src/miniublk.c: fix segment fault when io_uring is disabled
When io_uring is disabled, ublk_ctrl_init() will return NULL, so we have to check the result. Fixes segment fault reported from Yi. Reported-by: Zhang Yi <[email protected]> Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Shin'ichiro Kawasaki <[email protected]>
- Loading branch information