5fb8722899
This puts responsibility on the caller to free the buffer and do any other cleanup associated with the partition base (for example, GPT buffer). While here, also clean up a bunch of places where on various failures during initialization, it would just free the buffer instead of calling spdk_bdev_part_base_free(). The latter is required to make sure the bdev descriptor gets closed as well. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ic000339459eca4a4a1d103da2e1f3feffe7e764f Reviewed-on: https://review.gerrithub.io/378653 Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
vbdev_error_rpc.c | ||
vbdev_error.c | ||
vbdev_error.h |