+1
−0
Loading
If ublk_open() fails (e.g. because the ublk_drv is not loaded), poll_groups pointer was freed, but wasn't zeroed out, which would lead to an assertion failure on subsequent ublk_create_target() calls. Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I1b61935aeb9cd19d91d0fda5b800fa137ed0af56 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19325 Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>