nvme: send Identify with CNS 06h only to I/O controllers

[ Upstream commit def84ab600 ]

Identify CNS 06h (I/O Command Set Specific Identify Controller data
structure) is supported only on i/o controllers.

But nvme_init_non_mdts_limits() currently invokes this on all
controllers.  Correct this by ensuring this is sent to I/O
controllers only.

Signed-off-by: Martin George <marting@netapp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Martin George 2023-03-16 17:20:09 +05:30 • committed by Greg Kroah-Hartman
commit bb0cf2bd63