[PATCH 7/7] nvme-fabrics: add nvmf_init_ctrl/nvmf_teardown_ctrl API

Sagi Grimberg sagi at grimberg.me
Tue Oct 19 05:46:48 PDT 2021


> +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
nvmf_deinit_ctrl
nvmf_fini_ctrl
...



More information about the Linux-nvme mailing list