Loading
bdev/error: make sure error_disk is not NULL
If the user specifies the name of a bdev that is not an error injection bdev, bdev_inject_error would cause a NULL pointer dereference. Change-Id: Ibcc7daee5a75ac37c3567ebc048662e0165c2860 Signed-off-by:Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/365526 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Cunyin Chang <cunyin.chang@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>