fix a compile error when "configure --disable-quota"
b=20695
i=yong.fan
i=panda
mdt->mdt_som_conf ? "en" : "dis");
}
+#ifdef HAVE_QUOTA_SUPPORT
static int mdt_quota_off(struct mdt_device *mdt)
{
struct md_device *next = mdt->mdt_child;
lu_env_fini(&env);
return rc;
}
+#else
+static int mdt_quota_off(struct mdt_device *mdt)
+{
+ return 0;
+}
+#endif
static int lprocfs_wr_mdt_som(struct file *file, const char *buffer,
unsigned long count, void *data)