mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
nvme-fabrics: generate spec-compliant UUID NQNs
The default host NQN, which is generated based on the host's UUID, does not follow the UUID-based NQN format laid out in the NVMe 1.3 specification. Remove the "NVMf:" portion of the NQN to match the spec. Signed-off-by: Daniel Verkamp <[email protected]> Reviewed-by: Max Gurtovoy <[email protected]> Cc: [email protected] Signed-off-by: Christoph Hellwig <[email protected]>
This commit is contained in:
parent
28dd5cf70a
commit
40a5fce495
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ static struct nvmf_host *nvmf_host_default(void)
|
|||
|
||||
kref_init(&host->ref);
|
||||
snprintf(host->nqn, NVMF_NQN_SIZE,
|
||||
"nqn.2014-08.org.nvmexpress:NVMf:uuid:%pUb", &host->id);
|
||||
"nqn.2014-08.org.nvmexpress:uuid:%pUb", &host->id);
|
||||
|
||||
mutex_lock(&nvmf_hosts_mutex);
|
||||
list_add_tail(&host->list, &nvmf_hosts);
|
||||
|
|
|
|||
Loading…
Reference in a new issue