Addressed the comments from v2. I also added cleanup code to _nvmet_cleanup() toYou can add:
make sure we do not leak resources when something goes wrong. I run into this
while testing and all tests after the first failure failed then.
changes:
v3:
- added new patch: "nvme/043: Use hostnqn to generate DHCAP key"
- removed unused variable in "nvme/rc: Add helper for adding/removing to allow list"
- added cleanup code to _nvmet_cleanup().
v2:
- updated commit messages
- moved the removal of subsys_name to the right patch
- added _nvmet_target_{setup|cleanup} helpers
this addresses also the 'appears unused' warning by ShellCheck
- https://lore.kernel.org/linux-nvme/20230810111317.25273-1-dwagner@xxxxxxx/
v1:
- initial version
https://lore.kernel.org/linux-nvme/20230726124644.12619-1-dwagner@xxxxxxx/
Looks good.