summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/common/deconfigGard.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/hwas/common/deconfigGard.C')
-rw-r--r--src/usr/hwas/common/deconfigGard.C10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/hwas/common/deconfigGard.C b/src/usr/hwas/common/deconfigGard.C
index 7e77b4ef7..7bd55c005 100644
--- a/src/usr/hwas/common/deconfigGard.C
+++ b/src/usr/hwas/common/deconfigGard.C
@@ -583,11 +583,11 @@ errlHndl_t DeconfigGard::deconfigureTargetsFromGardRecordsForIpl(
continue;
}
- //Continue only with FATAL/UNRECOVERABLE gard errors.
- //All gard on node deosnt need resource recovery
- if(((l_gardRecord.iv_errorType != GARD_Fatal)&&
- (l_gardRecord.iv_errorType != GARD_Unrecoverable))||
- (l_pTarget->getAttr<ATTR_TYPE>() == TYPE_NODE))
+ // Only apply the record if it is Fatal, Unrecoverable,
+ // or for a Node
+ if (!((l_gardRecord.iv_errorType == GARD_Fatal)||
+ (l_gardRecord.iv_errorType == GARD_Unrecoverable)||
+ (l_pTarget->getAttr<ATTR_TYPE>() == TYPE_NODE)))
{
//Skip recoverable gard records
continue;
OpenPOWER on IntegriCloud