Blame SOURCES/0010-RH-dont-remove-map-on-enomem.patch

38852f
---
38852f
 multipathd/main.c |    3 ++-
38852f
 1 file changed, 2 insertions(+), 1 deletion(-)
38852f
38852f
Index: multipath-tools-130222/multipathd/main.c
38852f
===================================================================
38852f
--- multipath-tools-130222.orig/multipathd/main.c
38852f
+++ multipath-tools-130222/multipathd/main.c
38852f
@@ -990,7 +990,8 @@ mpvec_garbage_collector (struct vectors
38852f
 		return;
38852f
 
38852f
 	vector_foreach_slot (vecs->mpvec, mpp, i) {
38852f
-		if (mpp && mpp->alias && !dm_map_present(mpp->alias)) {
38852f
+		if (mpp && mpp->alias && !dm_map_present(mpp->alias) &&
38852f
+		    errno != ENOMEM) {
38852f
 			condlog(2, "%s: remove dead map", mpp->alias);
38852f
 			remove_map_and_stop_waiter(mpp, vecs, 1);
38852f
 			i--;