Skip to content
Snippets Groups Projects
Commit d9eeca7c authored by Yong Fan's avatar Yong Fan
Browse files

Branch HEAD

i=Johann Lombardi
i=ZhiYong Tian

quota_check shall return an error when a target goes offline
parent 4201416b
No related branches found
No related tags found
No related merge requests found
......@@ -258,7 +258,7 @@ int lmv_quota_check(struct obd_device *unused, struct obd_export *exp,
}
err = obd_quotacheck(tgt->ltd_exp, oqctl);
if (err && tgt->ltd_active && !rc)
if (err && !rc)
rc = err;
}
......@@ -282,7 +282,7 @@ int lov_quota_check(struct obd_device *unused, struct obd_export *exp,
}
err = obd_quotacheck(lov->lov_tgts[i]->ltd_exp, oqctl);
if (err && lov->lov_tgts[i]->ltd_active && !rc)
if (err && !rc)
rc = err;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment