In the different cases to creat a bdev channel, added a common cleanup function to destroy the resource. The same function is also called at the bdev channel destruction. Change-Id: I81b60cab9df3a8975b0a9982482c9d27899d8a79 Signed-off-by: GangCao <gang.cao@intel.com> Reviewed-on: https://review.gerrithub.io/398351 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
include | ||
lib | ||
Makefile |