Rename the "refresh_all" parameter so that its semantic becomes more obvious. Commit 6ccd7b8 ("multipathd: only refresh priorities in update_prio()") explains it. Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> --- multipathd/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multipathd/main.c b/multipathd/main.c index 2cddd85..6193e69 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -2099,7 +2099,7 @@ partial_retrigger_tick(vector pathvec) } } -int update_prio(struct path *pp, int refresh_all) +static int update_prio(struct path *pp, int force_refresh_all) { int oldpriority; struct path *pp1; @@ -2117,7 +2117,7 @@ int update_prio(struct path *pp, int refresh_all) if (pp->priority != oldpriority) changed = 1; - else if (!refresh_all) + else if (!force_refresh_all) return 0; vector_foreach_slot (pp->mpp->pg, pgp, i) { -- 2.43.0