We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b86d659 commit 5e4b55fCopy full SHA for 5e4b55f
drivers/nvme/host/fabrics.h
@@ -181,7 +181,7 @@ nvmf_ctlr_matches_baseopts(struct nvme_ctrl *ctrl,
181
ctrl->state == NVME_CTRL_DEAD ||
182
strcmp(opts->subsysnqn, ctrl->opts->subsysnqn) ||
183
strcmp(opts->host->nqn, ctrl->opts->host->nqn) ||
184
- memcmp(&opts->host->id, &ctrl->opts->host->id, sizeof(uuid_t)))
+ !uuid_equal(&opts->host->id, &ctrl->opts->host->id))
185
return false;
186
187
return true;
0 commit comments