numam-spdk/lib/bdev
Daniel Verkamp 9f770dae7e 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>
2017-06-15 13:29:57 -04:00
..
aio bdev: change name and product_name to char * 2017-06-06 12:37:39 -04:00
error bdev/error: make sure error_disk is not NULL 2017-06-15 13:29:57 -04:00
malloc bdev, malloc: free name to avoid memory leak 2017-06-13 13:11:03 -04:00
null bdev: change name and product_name to char * 2017-06-06 12:37:39 -04:00
nvme bdev/nvme: Delete+Recreate I/O queues around a reset 2017-06-14 19:06:44 -04:00
rbd bdev: change name and product_name to char * 2017-06-06 12:37:39 -04:00
rpc bdev: make struct spdk_bdev contents private 2017-05-17 09:45:42 -07:00
split bdev: change name and product_name to char * 2017-06-06 12:37:39 -04:00
bdev.c bdev: use spdk_thread_send_msg() to defer completion 2017-06-13 11:37:13 -04:00
Makefile bdev: #include VTune file to control warnings 2017-06-08 12:44:25 -04:00
scsi_nvme.c bdev: add API to translate to SCSI status 2017-05-04 09:11:42 -07:00
vtune.c bdev: #include VTune file to control warnings 2017-06-08 12:44:25 -04:00