[PATCH 3/8] libmultipath: Don't fail dm_get_maps for DMP_NOT_FOUND

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



DMP_NOT_FOUND is not an error.

Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx>
---
 libmultipath/devmapper.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libmultipath/devmapper.c b/libmultipath/devmapper.c
index 41c6ae4d..33eadb12 100644
--- a/libmultipath/devmapper.c
+++ b/libmultipath/devmapper.c
@@ -1265,6 +1265,7 @@ int dm_get_maps(vector mp)
 			vector_set_slot(mp, mpp);
 			break;
 		case DMP_NO_MATCH:
+		case DMP_NOT_FOUND:
 			break;
 		default:
 			return 1;
-- 
2.46.2





[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux