Whamcloud - gitweb
b=16890 a build fix for --disable-quota
authorAndrew Perepechko <Andrew.Perepechko@sun.com>
Thu, 15 Jul 2010 14:49:08 +0000 (18:49 +0400)
committerMikhail Pershin <tappro@sun.com>
Fri, 6 Aug 2010 12:00:02 +0000 (16:00 +0400)
i=ZhiYong Tian
i=Yong Fan

attachments 30599 and 30600

lustre/include/lustre_quota.h
lustre/mdt/mdt_handler.c

index 3b59537..82071a3 100644 (file)
@@ -446,7 +446,7 @@ struct lustre_quota_ctxt {
 
 #else
 
-#define LL_DQUOT_OFF(sb, remount) do {} while(0)
+#define LL_DQUOT_OFF(sb) do {} while(0)
 
 struct lustre_quota_info {
 };
index b584ed4..aec469b 100644 (file)
@@ -5531,8 +5531,8 @@ static int mdt_iocontrol(unsigned int cmd, struct obd_export *exp, int len,
 int mdt_postrecov(const struct lu_env *env, struct mdt_device *mdt)
 {
         struct lu_device *ld = md2lu_dev(mdt->mdt_child);
-        struct obd_device *obd = mdt2obd_dev(mdt);
 #ifdef HAVE_QUOTA_SUPPORT
+        struct obd_device *obd = mdt2obd_dev(mdt);
         struct md_device *next = mdt->mdt_child;
 #endif
         int rc;