]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/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)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 15 Sep 2017 16:15:07 +0000 (09:15 -0700)
commit9bc0648d64c47d3286bcdc6ce0044bc08bd42c53
tree935e1f7a5a69599e79284660d6cf0352b9eb781f
parentec2750458c96564b1d0b5717300107010e4fa8b2
nvme-fabrics: generate spec-compliant UUID NQNs

BugLink: http://bugs.launchpad.net/bugs/1717549
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>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/nvme/host/fabrics.c