mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
29e2be0550
When we're reloading the error-target dm table, always resume the device even if the reload fails because (a) we shouldn't leave dm state for the callers to clean up and (b) the caller don't clean up the state which just leads to the scratch filesystem hanging on the suspended dm error device. Resume the dm device when we're cleaning up so that cleaning up the scratch filesystem won't hang. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>