-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nvme: delete all namespaces in _remove_nvmet_subsystem()
A subsystem might have more than one namespace, so delete all of them in _remove_nvmet_subsystem(). This change was to be made before the commit 67e25d7 ("nvme/052: do not create namespace when setting up the target"), which assumes that _remove_nvmet_subsystem() delets all namespaces. However, commit order was modified then the test case nvme/052 now fails without this commit. Signed-off-by: Hannes Reinecke <[email protected]> [Shin'ichiro: resolved conflicts] Fixes: 67e25d7 ("nvme/052: do not create namespace when setting up the target") Reviewed-by: Daniel Wagner <[email protected]> Tested-by: Yi Zhang <[email protected]> Signed-off-by: Shin'ichiro Kawasaki <[email protected]>
- Loading branch information
Showing
3 changed files
with
4 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters