]> www.infradead.org Git - linux-platform-drivers-x86.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)
commit2f907f7f96d96c518652410b90ad2edb50305a4c
tree0a598b36a601198c36b7a447c9ccb8dd4c266b61
parent89b3d6e60550ded5a88ae69cd04d17558e948878
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