OSDN Git Service

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)
commit24493b8b854a67234c5c142a7ea075e2174a3084
treef9d70ce0174669209734ef52f7adc61a77c2f1ef
parentf783f444ceaa7eab043a7a5ae0e34c68743c0358
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