Skip to content

Commit

Permalink
fixup! multipathd: update priority once after updating all paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilck committed Sep 4, 2024
1 parent 5b9018b commit e391ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multipathd/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2901,7 +2901,7 @@ update_paths(struct vectors *vecs, int *num_paths_p, time_t start_secs)
i--;
else {
pp->is_checked = rc;
if (rc == CHECK_PATH_CHECKED || CHECK_PATH_NEW_UP)
if (rc == CHECK_PATH_CHECKED || rc == CHECK_PATH_NEW_UP)
(*num_paths_p)++;
}
if (++paths_checked % 128 == 0 &&
Expand Down

0 comments on commit e391ef3

Please sign in to comment.