Return with error when dm device is reported as corrupted
Close the dm device in case dm_status_verity_ok return the device status as corrupted.
Edited by Deepak
Close the dm device in case dm_status_verity_ok return the device status as corrupted.