+30
−28
Loading
Consolidating error paths will be helpful to create and associate with the creating controller. Fix a couple of memory leaks in error paths together. Then rename create_ctrlr() by nvme_bdev_ctrlr_create() to follow naming conventions and clarify what type of controller is created. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I3f9073756198c0b0bc65b67ce84a41233297eac0 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4509 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Community-CI: Broadcom CI Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>