]> git.itanic.dy.fi Git - linux-stable/commit
nvme-fabrics: generate spec-compliant UUID NQNs
authorDaniel Verkamp <daniel.verkamp@intel.com>
Wed, 30 Aug 2017 22:18:19 +0000 (15:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2017 21:13:36 +0000 (14:13 -0700)
commitf52a535c8438d4761c9b42a63e1b6971415a5744
tree40db2c008068a4b8f7bb991035d1af68f91d846e
parentb276bc66d439e6b510f54d4ae0c18da9fcd60319
nvme-fabrics: generate spec-compliant UUID NQNs

commit 40a5fce495715c48c2e02668144e68a507ac5a30 upstream.

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 <daniel.verkamp@intel.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvme/host/fabrics.c