]> 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)
commit1add9abb0e6fc719c49c0ee1cbcda540dbc2343d
treef9d70ce0174669209734ef52f7adc61a77c2f1ef
parent3517e66f2df946452fc174fb8e36684e0275f680
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