]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: export nvme_find_get_ns() and nvme_put_ns()
authorLogan Gunthorpe <logang@deltatee.com>
Fri, 24 Jul 2020 17:25:16 +0000 (11:25 -0600)
committerChristoph Hellwig <hch@lst.de>
Wed, 29 Jul 2020 05:45:21 +0000 (07:45 +0200)
commit023aaafe488a61151843e7800af3b71826779e60
treef9d70ce0174669209734ef52f7adc61a77c2f1ef
parent6604d6eefce248281eda04aad01fe22288cad886
nvme: export nvme_find_get_ns() and nvme_put_ns()

nvme_find_get_ns() and nvme_put_ns() are required by the target passthru
code and are exported under the NVME_TARGET_PASSTHRU namespace.

Based-on-a-patch-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h