Spdk/lib/bdev
Dariusz Stojaczyk 3949140b2e bdev/virtio_blk: fix double free on init failure
virtio_blk bdevs inherit the name string from their virtio
devices. The string is always freed on virtio device destroy, so
trying to free it as a part of bdev cleanup would always result
in a double free.

Change-Id: I47d20748ec12d9be201b9cd4f72bf89a61e80170
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/412073
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-05-22 23:08:40 +00:00
..
aio rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
error rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
gpt bdev/gpt: allocate buffer with correct alignment 2018-04-24 16:19:04 +00:00
iscsi bdev/iscsi: save initiator iqn name 2018-05-17 17:11:59 +00:00
lvol bdev/lvol: inherit need_aligned_buffer of base bdev 2018-05-22 23:08:11 +00:00
malloc rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
null rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
nvme bdev/nvme: check passthru cmd size against MDTS 2018-05-09 17:20:11 +00:00
passthru bdev/passthru: remove trailing space in config dump 2018-05-21 19:44:30 +00:00
pmem rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
rbd rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
rpc bdev/rpc: make get_bdevs/config "name" params optional 2018-05-22 23:03:30 +00:00
split bdev/split: free req in destruct_split_vbdev RPC call 2018-05-17 17:38:02 +00:00
virtio bdev/virtio_blk: fix double free on init failure 2018-05-22 23:08:40 +00:00
bdev.c bdev: Make the QoS channel use a regular channel 2018-05-22 21:54:46 +00:00
Makefile bdev/pmem: change all NVML strings to PMDK 2018-04-07 00:07:57 -04:00
part.c bdev: Wait for io device to unregister in bdev_part 2018-04-17 11:47:09 -04:00
scsi_nvme.c nvme_spec: remove SGL Sub Type Invalid status code 2017-09-22 17:11:53 -04:00
vtune.c bdev: disable new GCC 7 warning in VTune code 2018-03-19 15:58:15 -04:00