diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2021-02-28 18:06:04 -0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-04-02 18:48:26 +0200 |
commit | f21c4769d0de00f4873792f8e6f2d1c04c8cd898 (patch) | |
tree | 6e53bf43a10e37c83b375791a275e81f683bcf1c /drivers/nvme/host/fc.c | |
parent | nvme: reduce checks for zero command effects (diff) | |
download | linux-dev-f21c4769d0de00f4873792f8e6f2d1c04c8cd898.tar.xz linux-dev-f21c4769d0de00f4873792f8e6f2d1c04c8cd898.zip |
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/host/fc.c')
-rw-r--r-- | drivers/nvme/host/fc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/fc.c b/drivers/nvme/host/fc.c index 73d073748389..cb5cdef000bd 100644 --- a/drivers/nvme/host/fc.c +++ b/drivers/nvme/host/fc.c @@ -3086,7 +3086,7 @@ nvme_fc_create_association(struct nvme_fc_ctrl *ctrl) blk_mq_unquiesce_queue(ctrl->ctrl.admin_q); - ret = nvme_init_identify(&ctrl->ctrl); + ret = nvme_init_ctrl_finish(&ctrl->ctrl); if (ret || test_bit(ASSOC_FAILED, &ctrl->flags)) goto out_disconnect_admin_queue; |