]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: simplify block device ioctl handling for the !multipath case
authorChristoph Hellwig <hch@lst.de>
Fri, 14 Aug 2020 08:55:32 +0000 (10:55 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 15 Apr 2021 06:12:55 +0000 (08:12 +0200)
commit1dcb465b27ce9834d7b484a179103b6e81acf0b6
tree0a598b36a601198c36b7a447c9ccb8dd4c266b61
parentb518fe63526bb455643e42d38ae6bf4b71908bee
nvme: simplify block device ioctl handling for the !multipath case

Only use the existing ioctl handler for the multipath case, and add a
simpler one that reverts to the pre-multipath case for not shared
use case.

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