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