Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libmultipath: remove devices with no table and multipath DM UUID
if dm_get_multipath() returns DMP_BAD_DEV in dm_get_maps(), it means that it found an device with a DM UUID prefix of "mpath-" but no table. Treat this as the remains of a failed device creation, and remove it like dm_addmap_create() does when it fails to fully create a device and it's left in this state. Signed-off-by: Benjamin Marzinski <[email protected]>
- Loading branch information