--- ./source/private_module/quota/quota_diagnose.c	2018-02-09 21:47:03.000000000 +0800
+++ ./source/private_module/quota/quota_diagnose.c.hotpatch	2018-07-05 17:43:10.000000000 +0800
@@ -4840,16 +4840,16 @@
 {
     QUOTA_OBJ_S *quotaObj = NULL;
     VOLUME_QUOTA_TYPE_E quotaType;
-
+    int64_t tmpBaseCnt = 0;
     for (quotaType = VOLUME_QUOTA_TYPE_ONFLY; quotaType < VOLUME_QUOTA_TYPE_INVALID; quotaType++)
     {
-        quotaObj = &(volQuotaObj->quotaObjArray[quotaType]);
-        if ((int32_t)((int64_t)atomic_read(&quotaObj->usedCnt) * ONE_HUNDRED_PERCENT / atomic_read(&quotaObj->baseCnt)) >= QUOTA_DIAG_HIGHT_WATER_MARK)
+        quotaObj = &(volQuotaObj->quotaObjArray[quotaType]);tmpBaseCnt = atomic_read(&quotaObj->baseCnt);
+        if (0 == tmpBaseCnt){continue;}
+        if ((int32_t)((int64_t)atomic_read(&quotaObj->usedCnt) * ONE_HUNDRED_PERCENT / tmpBaseCnt) >= QUOTA_DIAG_HIGHT_WATER_MARK)
         {
             return TRUE;
         }
     }
-
     return FALSE;
 }
 
