diff mbox series

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

Message ID 20241031183301.391416-4-bmarzins@redhat.com (mailing list archive)
State New
Headers show
Series multipath fixes to tableless device handling | expand

Commit Message

Benjamin Marzinski Oct. 31, 2024, 6:32 p.m. UTC
DMP_NOT_FOUND is not an error.

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

Patch

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;