Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nvme/058: detach loop device after test finish
The nvme/058 creates three (temp file backed) namespaces and attach each namespace to a loop device while starting the test. However it never detach those namespaces from the loop device once test finishes. Ideally, we should detach loop device from namespace so that the associated loop device is later destroyed and its resources are released. This patch helps detach each namespace from its associated loop device after test finishes. Signed-off-by: Nilay Shroff <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> [Shin'ichiro: moved local variable declarations out of if block] Signed-off-by: Shin'ichiro Kawasaki <[email protected]>
- Loading branch information