diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2021-03-01 05:06:04 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-04-02 19:48:26 +0300 |
commit | f21c4769d0de00f4873792f8e6f2d1c04c8cd898 (patch) | |
tree | 6e53bf43a10e37c83b375791a275e81f683bcf1c /drivers/nvme/target/loop.c | |
parent | 18479ddb7fd5fd0994bd10a95618bf866713a11b (diff) | |
download | linux-f21c4769d0de00f4873792f8e6f2d1c04c8cd898.tar.xz |
nvme: rename nvme_init_identify()
This is a prep patch so that we can move the identify data structure
related code initialization from nvme_init_identify() into a helper.
Rename the function nvmet_init_identify() to nvmet_init_ctrl_finish().
Next patch will move the nvme_id_ctrl related initialization from newly
renamed function nvme_init_ctrl_finish() into the nvme_init_identify()
helper.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/target/loop.c')
-rw-r--r-- | drivers/nvme/target/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/target/loop.c b/drivers/nvme/target/loop.c index cb6f86572b24..a7f97c8b2f77 100644 --- a/drivers/nvme/target/loop.c +++ b/drivers/nvme/target/loop.c @@ -396,7 +396,7 @@ static int nvme_loop_configure_admin_queue(struct nvme_loop_ctrl *ctrl) blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); - error = nvme_init_identify(&ctrl->ctrl); + error = nvme_init_ctrl_finish(&ctrl->ctrl); if (error) goto out_cleanup_queue; |