Re: [PATCH 06/10] nvme/039: create authenticated connections
From: Chaitanya Kulkarni <hidden>
Date: 2021-12-13 23:04:56
From: Chaitanya Kulkarni <hidden>
Date: 2021-12-13 23:04:56
+
+ _nvme_disconnect_subsys "${subsys}"
+
+ _remove_nvmet_subsystem_from_port "${port}" "${subsys}"
+ _remove_nvmet_subsystem "${subsys}"
+
+ _remove_nvmet_port "${port}"
+
+ _remove_nvmet_host "${hostnqn}"
+
+ rm ${scratch}
+The above sequence is also worth moving to helper in nvme/rc to avoid the code duplication in all the existing and future testcases.