[PATCH] Undefined symbol sync_dquots_dev() in quota.c

Stephane Ouellette (ouellettes@videotron.ca)
Wed, 23 Apr 2003 11:28:58 -0400


This is a multi-part message in MIME format.

--Boundary_(ID_njrsjQY3BZzzMJbm2U7uiA)
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT

Folks,

the following patch fixes a compile error under 2.4.21-rc1-ac1.
sync_dev_dquots() is undefined if CONFIG_QUOTA is not set.

Stephane Ouellette.

--Boundary_(ID_njrsjQY3BZzzMJbm2U7uiA)
Content-type: text/plain; name=quota.c.patch; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
Content-disposition: inline; filename=quota.c.patch

--- linux-2.4.21-rc1-ac1-orig/fs/quota.c Wed Apr 23 11:22:49 2003
+++ linux-2.4.21-rc1-ac1-fixed/fs/quota.c Wed Apr 23 11:22:12 2003
@@ -197,7 +197,9 @@
case Q_SYNC:
if (sb)
return sb->s_qcop->quota_sync(sb, type);
+#ifdef CONFIG_QUOTA
sync_dquots_dev(NODEV, type);
+#endif
return 0;

case Q_XQUOTAON:
@@ -525,7 +527,9 @@
case Q_COMP_SYNC:
if (sb)
return sb->s_qcop->quota_sync(sb, type);
+#ifdef CONFIG_QUOTA
sync_dquots_dev(NODEV, type);
+#endif
return 0;
#ifdef CONFIG_QIFACE_V1
case Q_V1_RSQUASH: {

--Boundary_(ID_njrsjQY3BZzzMJbm2U7uiA)--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/