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