5bea53fe7e
Update Source to the latest upstream commit * Previous patches 0001-0006 are included in this commit * Previous patches 0007-0014 are now patches 0015-0022 Add 0001-libmultipath-fix-tur-checker-locking.patch * Fixed spinlock bug. posted upstream Add 0002-multipath-fix-DEF_TIMEOUT-use.patch * Add missing sec to ms conversion. posted upstream Add 0003-multipathd-remove-coalesce_paths-from-ev_add_map.patch * Remove unused code. posted upstream Add 0004-multipathd-remove-unused-configure-parameter.patch * Remove unused code. posted upstream Add 0005-Fix-set_no_path_retry-regression.patch * Fix issue with queueing and path addition. posted upstream Add 0006-multipathd-change-spurious-uevent-msg-priority.patch * Change message priority to Notice. posted upstream Add 0007-multipath-print-sysfs-state-in-fast-list-mode.patch * Show sysfs state correctly in fast list mode (-l). posted upstream Add 0008-libmultipath-move-remove_map-waiter-code-to-multipat.patch * Move code around. posted upstream Add 0009-move-waiter-code-from-libmultipath-to-multipathd.patch * Move code around. posted upstream Add 0010-call-start_waiter_thread-before-setup_multipath.patch * Fix race on multipath device creations. posted upstream Add 0011-libmultipath-add-helper-functions.patch * posted upstream Add 0012-multipathd-RFC-add-new-polling-dmevents-waiter-threa.patch * Add alternate method of getting dmevents, that doesn't require a thread per device. posted upstream Add 0013-libmultipath-condlog-log-to-stderr.patch * change condlog to log to stderr instead of stdout. posted upstream Add 0014-multipathd-fix-compiler-warning-for-uev_pathfail_che.patch * fix indentation issue. posted upstream
54 lines
1.3 KiB
Diff
54 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Benjamin Marzinski <bmarzins@redhat.com>
|
|
Date: Fri, 2 Feb 2018 15:04:01 -0600
|
|
Subject: [PATCH] multipathd: remove unused configure parameter
|
|
|
|
configure() is always called with start_waiters=1, so there is no point
|
|
in having the parameter. Remove it.
|
|
|
|
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
|
|
---
|
|
multipathd/main.c | 12 +++++-------
|
|
1 file changed, 5 insertions(+), 7 deletions(-)
|
|
|
|
diff --git a/multipathd/main.c b/multipathd/main.c
|
|
index dbf9890..51e0f5e 100644
|
|
--- a/multipathd/main.c
|
|
+++ b/multipathd/main.c
|
|
@@ -1955,7 +1955,7 @@ checkerloop (void *ap)
|
|
}
|
|
|
|
int
|
|
-configure (struct vectors * vecs, int start_waiters)
|
|
+configure (struct vectors * vecs)
|
|
{
|
|
struct multipath * mpp;
|
|
struct path * pp;
|
|
@@ -2054,11 +2054,9 @@ configure (struct vectors * vecs, int start_waiters)
|
|
i--;
|
|
continue;
|
|
}
|
|
- if (start_waiters) {
|
|
- if (start_waiter_thread(mpp, vecs)) {
|
|
- remove_map(mpp, vecs, 1);
|
|
- i--;
|
|
- }
|
|
+ if (start_waiter_thread(mpp, vecs)) {
|
|
+ remove_map(mpp, vecs, 1);
|
|
+ i--;
|
|
}
|
|
}
|
|
return 0;
|
|
@@ -2125,7 +2123,7 @@ reconfigure (struct vectors * vecs)
|
|
rcu_assign_pointer(multipath_conf, conf);
|
|
call_rcu(&old->rcu, rcu_free_config);
|
|
|
|
- configure(vecs, 1);
|
|
+ configure(vecs);
|
|
|
|
|
|
return 0;
|
|
--
|
|
2.7.4
|
|
|