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> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23218 (master) (cherry picked from commit 5a564c0d) Change-Id: Ic2ddadae371887c1377c6b52d97df1601fb66eda Signed-off-by:
Marek Chomnicki <marek.chomnicki@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23279 Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>