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