nvme: don't bother to look up a namespace for controller ioctls
authorChristoph Hellwig <hch@lst.de>
Fri, 14 Aug 2020 09:11:49 +0000 (11:11 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 15 Apr 2021 06:12:55 +0000 (08:12 +0200)
commit3557a4409701a132e8f86ad234ac8cf6e97b052e
tree5019c72bda57429cd58e3f3ad905aa20bd8bc252
parent2f907f7f96d96c518652410b90ad2edb50305a4c
nvme: don't bother to look up a namespace for controller ioctls

Don't bother to look up a namespace just to drop if after retreiving the
controller for the multipath case.  Just look up a live controller for
the subsystem directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Javier González <javier.gonz@samsung.com>
drivers/nvme/host/core.c