From bbb549a5b36f929bdd0c75748121892ce4904c88 Mon Sep 17 00:00:00 2001 From: Landen Date: Mon, 6 Sep 2010 18:31:24 +0400 Subject: [PATCH] b=11678 add check to void unnecessary warning i=johann i=andrew.perepechko --- lustre/quota/quota_master.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 1.8.3.1