+21
−20
Loading
Use spdk_bdev_part_base_construct_ext() to pass bdev_name and remove the spdk_bdev_get_by_name() call. Remove the created configuration only if non-zero return code other than -ENODEV is returned. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ieb5ee5d7e1ccc984df1e84205be18c7b93799bba Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4579 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com>