@@ -2550,19 +2550,19 @@ update_path_state (struct vectors * vecs, struct path * pp)
return CHECK_PATH_CHECKED;
}
- if (newstate == PATH_UP || newstate == PATH_GHOST) {
- if (pp->mpp->prflag != PRFLAG_UNSET) {
- int prflag = pp->mpp->prflag;
- /*
- * Check Persistent Reservation.
- */
- condlog(2, "%s: checking persistent "
- "reservation registration", pp->dev);
- mpath_pr_event_handle(pp);
- if (pp->mpp->prflag == PRFLAG_SET &&
- prflag != PRFLAG_SET)
- pr_register_active_paths(pp->mpp);
- }
+ /* newstate == PATH_UP || newstate == PATH_GHOST */
+
+ if (pp->mpp->prflag != PRFLAG_UNSET) {
+ int prflag = pp->mpp->prflag;
+ /*
+ * Check Persistent Reservation.
+ */
+ condlog(2, "%s: checking persistent "
+ "reservation registration", pp->dev);
+ mpath_pr_event_handle(pp);
+ if (pp->mpp->prflag == PRFLAG_SET &&
+ prflag != PRFLAG_SET)
+ pr_register_active_paths(pp->mpp);
}
/*