From: Landen Date: Mon, 6 Sep 2010 14:31:24 +0000 (+0400) Subject: b=11678 add check to void unnecessary warning X-Git-Tag: 2.0.51.0~8 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=bbb549a5b36f929bdd0c75748121892ce4904c88;p=fs%2Flustre-release.git b=11678 add check to void unnecessary warning i=johann i=andrew.perepechko --- diff --git a/lustre/quota/quota_master.c b/lustre/quota/quota_master.c index 7a3ec0e..0f66753 100644 --- a/lustre/quota/quota_master.c +++ b/lustre/quota/quota_master.c @@ -1690,6 +1690,9 @@ int mds_quota_recovery(struct obd_device *obd) int rc = 0; ENTRY; + if (!ll_sb_any_quota_active(obd->u.obt.obt_qctxt.lqc_sb)) + RETURN(0); + if (unlikely(!mds->mds_quota || obd->obd_stopping)) RETURN(rc);