[PATCH 7/7] nvme-fabrics: add nvmf_init_ctrl/nvmf_teardown_ctrl API
Max Gurtovoy
mgurtovoy at nvidia.com
Tue Oct 19 06:20:00 PDT 2021
On 10/19/2021 3:46 PM, Sagi Grimberg wrote:
>
>> +void nvmf_teardown_ctrl(struct nvme_ctrl *ctrl)
>> +{
>> + cancel_work_sync(&ctrl->err_work);
>> + cancel_delayed_work_sync(&ctrl->connect_work);
>
> Name doesn't represent what is done in the function at all..
> possible names:
> nvmf_uninit_ctrl
Ok, i'll change it to nvmf_uninit_ctrl
> nvmf_deinit_ctrl
> nvmf_fini_ctrl
> ...
More information about the Linux-nvme
mailing list