nvme-fabrics: generate spec-compliant UUID NQNs
authorDaniel Verkamp <daniel.verkamp@intel.com>
Wed, 30 Aug 2017 22:18:19 +0000 (15:18 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Sep 2017 07:48:01 +0000 (09:48 +0200)
commit40a5fce495715c48c2e02668144e68a507ac5a30
treedb42a174db1561055307f33fd89fab88d169a1e5
parent28dd5cf70aaac2a12a16847ae0a978f0b0575194
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 <daniel.verkamp@intel.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Cc: stable@vger.kernel.org
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fabrics.c