lkml.org 
[lkml]   [2003]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Undefined symbol sync_dquots_dev() in quota.c
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.

--- 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: {
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.040 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site