Whamcloud - gitweb
Branch b1_8_gate
authortianzy <tianzy>
Wed, 8 Oct 2008 12:30:52 +0000 (12:30 +0000)
committertianzy <tianzy>
Wed, 8 Oct 2008 12:30:52 +0000 (12:30 +0000)
fix compiling error when CONFIG_QUOTA isn't set.
b=16481
i=shadow
i=panda

lustre/quota/quota_context.c

index 9169074..fc9b8c5 100644 (file)
@@ -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;