]> git.baikalelectronics.ru Git - 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)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Sep 2017 07:48:01 +0000 (09:48 +0200)
commit490726177a977cc1df71942b52305d2be443b8f0
treedb42a174db1561055307f33fd89fab88d169a1e5
parent682b922113cc789f70b94376943de829f56defc4
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