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

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