28d3ae407e
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/device-mapper-multipath.git#26a2cd7a3e189bf91263d17bc8a8c449cc043fb0
38 lines
975 B
Diff
38 lines
975 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Benjamin Marzinski <bmarzins@redhat.com>
|
|
Date: Thu, 17 Dec 2020 16:51:01 -0600
|
|
Subject: [PATCH] multipathd: remove redundant vector_free() int configure
|
|
|
|
remove_maps(vecs) already calls vector_free(vecs->mpvec)
|
|
|
|
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
|
|
Reviewed-by: Martin Wilck <mwilck@suse.com>
|
|
---
|
|
multipathd/main.c | 8 ++------
|
|
1 file changed, 2 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/multipathd/main.c b/multipathd/main.c
|
|
index b6a5f5b7..2eab4854 100644
|
|
--- a/multipathd/main.c
|
|
+++ b/multipathd/main.c
|
|
@@ -2634,14 +2634,10 @@ configure (struct vectors * vecs)
|
|
}
|
|
|
|
/*
|
|
- * purge dm of old maps
|
|
+ * purge dm of old maps and save new set of maps formed by
|
|
+ * considering current path state
|
|
*/
|
|
remove_maps(vecs);
|
|
-
|
|
- /*
|
|
- * save new set of maps formed by considering current path state
|
|
- */
|
|
- vector_free(vecs->mpvec);
|
|
vecs->mpvec = mpvec;
|
|
|
|
/*
|
|
--
|
|
2.17.2
|
|
|