diff options
author | Matias Bjørling <mb@lightnvm.io> | 2018-03-21 20:27:07 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-03-26 08:53:43 -0600 |
commit | d558fb51ad3dc7d5f1287d55d0f2e0646af36253 (patch) | |
tree | 2ac11e2a5db9e258413653917d473208b0cfeb53 /drivers/nvme/host/nvme.h | |
parent | e929f06d9eaab4dba14e730ef18aa85b76465db9 (diff) | |
download | blackbird-op-linux-d558fb51ad3dc7d5f1287d55d0f2e0646af36253.tar.gz blackbird-op-linux-d558fb51ad3dc7d5f1287d55d0f2e0646af36253.zip |
nvme: make nvme_get_log_ext non-static
Enable the lightnvm integration to use the nvme_get_log_ext()
function.
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-rw-r--r-- | drivers/nvme/host/nvme.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index 741e3c79bbe9..c393e4b56f39 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -429,6 +429,9 @@ int nvme_reset_ctrl_sync(struct nvme_ctrl *ctrl); int nvme_delete_ctrl(struct nvme_ctrl *ctrl); int nvme_delete_ctrl_sync(struct nvme_ctrl *ctrl); +int nvme_get_log_ext(struct nvme_ctrl *ctrl, struct nvme_ns *ns, + u8 log_page, void *log, size_t size, size_t offset); + extern const struct attribute_group nvme_ns_id_attr_group; extern const struct block_device_operations nvme_ns_head_ops; |