summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/hwas/common/deconfigGard.C16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/usr/hwas/common/deconfigGard.C b/src/usr/hwas/common/deconfigGard.C
index f72055e90..fff247b6f 100644
--- a/src/usr/hwas/common/deconfigGard.C
+++ b/src/usr/hwas/common/deconfigGard.C
@@ -198,10 +198,20 @@ errlHndl_t DeconfigGard::clearGardRecordsForReplacedTargets()
l_pErr->plid());
break;
}
-
- // now clear our 'changed' bit
- clear_hwas_changed_bit(l_pTarget,HWAS_CHANGED_BIT_GARD);
} // for
+
+ // now we need to go thru and clear all of the GARD bits in the
+ // changed flags for all targets
+ for (TargetIterator t_iter = targetService().begin();
+ t_iter != targetService().end();
+ ++t_iter)
+ {
+ Target* l_pTarget = *t_iter;
+ if (l_predicateHwasChanged(l_pTarget))
+ {
+ clear_hwas_changed_bit(l_pTarget,HWAS_CHANGED_BIT_GARD);
+ }
+ }
}
while (0);
OpenPOWER on IntegriCloud