From 3cfa093f715919ebddfd7ab49b1c85cd354462a2 Mon Sep 17 00:00:00 2001 From: tianzy Date: Wed, 8 Oct 2008 12:30:52 +0000 Subject: [PATCH] Branch b1_8_gate fix compiling error when CONFIG_QUOTA isn't set. b=16481 i=shadow i=panda --- lustre/quota/quota_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/quota/quota_context.c b/lustre/quota/quota_context.c index 9169074..fc9b8c5 100644 --- a/lustre/quota/quota_context.c +++ b/lustre/quota/quota_context.c @@ -1096,7 +1096,7 @@ qctxt_init(struct obd_device *obd, dqacq_handler_t handler) qctxt->lqc_cqs_least_iunit = 2; qctxt->lqc_cqs_qs_factor = 2; qctxt->lqc_flags = 0; - qctxt->lqc_setup = 0; + QUOTA_MASTER_UNREADY(qctxt); qctxt->lqc_bunit_sz = default_bunit_sz; qctxt->lqc_btune_sz = default_bunit_sz / 100 * default_btune_ratio; qctxt->lqc_iunit_sz = default_iunit_sz; -- 1.8.3.1