nvme: use case-sensitive comparison for NQNs

Nothing in the spec indicates that NQNs should be case insensitive, and
we have fixed this elsewhere (e.g. commit df70bc1559: "nvmf: use
case-sensitive comparison for NQNs").

Change-Id: I4a48d1c7f25ec5af9ce4d73f1bf2fa543236503a
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/367106
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Daniel Verkamp 2017-06-26 10:13:59 -07:00 committed by Jim Harris
parent 45f7571a08
commit 58c2bb850c

View File

@ -617,7 +617,7 @@ spdk_nvme_transport_id_compare(const struct spdk_nvme_transport_id *trid1,
return cmp;
}
cmp = strcasecmp(trid1->subnqn, trid2->subnqn);
cmp = strcmp(trid1->subnqn, trid2->subnqn);
if (cmp) {
return cmp;
}