]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit56f6fd7d7fa46452ef6b19bb5890e1d570c6a55d
tree5019c72bda57429cd58e3f3ad905aa20bd8bc252
parentc3e5f8cbb4d786242fe3627e2be450f0b8420a54
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