From 7f52979db7086c3229870b190f109ddb76cbea75 Mon Sep 17 00:00:00 2001 From: Dhruvaraj Subhashchandran Date: Tue, 16 Oct 2018 03:23:21 -0500 Subject: fix Skip resource recovery for node and power gard. Change-Id: Ia962954dd85fe0ead36245016be3ac8380216429 Signed-off-by: Dhruvaraj Subhashchandran CQ: SW448863 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67535 Tested-by: Jenkins Server Reviewed-by: Matt Derksen Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/usr/hwas/common/deconfigGard.C | 10 +++++----- 1 file 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() == 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() == TYPE_NODE))) { //Skip recoverable gard records continue; -- cgit v1.2.1