Loading
bdev/nvme: check_secondary_trid() returns -EALREADY for path duplication
To make the error code consistent, change one return value of bdev_nvme_check_secondary_trid() from -EEXIST to -ALREADY. Then the user will be able to get consistent error code for path duplication errors. Fixes issue #3383 Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Ic2ddadae371887c1377c6b52d97df1601fb66eda Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23218 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot