From fa5ba4218fb07196caf0e93518829c1d4eda8016 Mon Sep 17 00:00:00 2001
From: anserper <anserper>
Date: Fri, 28 Nov 2008 10:17:29 +0000
Subject: [PATCH] Branch b1_6 b=17772 i=Johann Lombardi i=ZhiYong Tian
 lov_quota_check shall return an error when a target goes offline

---
 lustre/quota/quota_check.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustre/quota/quota_check.c b/lustre/quota/quota_check.c
index df5bc1e21e..5fbd4a7037 100644
--- a/lustre/quota/quota_check.c
+++ b/lustre/quota/quota_check.c
@@ -250,7 +250,7 @@ int lov_quota_check(struct obd_export *exp, struct obd_quotactl *oqctl)
                 }
 
                 err = obd_quotacheck(lov->lov_tgts[i]->ltd_exp, oqctl);
-                if (err && lov->lov_tgts[i]->ltd_active && !rc)
+                if (err && !rc)
                         rc = err;
         }
 
-- 
GitLab