From: Stephane Ouellette <ouellettes@videotron.ca>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Undefined symbol sync_dquots_dev() in quota.c
Date: Wed, 23 Apr 2003 11:28:58 -0400 [thread overview]
Message-ID: <3EA6B13A.4000408@videotron.ca> (raw)
[-- Attachment #1: Type: text/plain, Size: 158 bytes --]
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.
[-- Attachment #2: quota.c.patch --]
[-- Type: text/plain, Size: 551 bytes --]
--- 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: {
next reply other threads:[~2003-04-23 15:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-23 15:28 Stephane Ouellette [this message]
2003-04-23 15:33 ` [PATCH] Undefined symbol sync_dquots_dev() in quota.c Jeff Garzik
2003-04-23 15:59 ` Stephane Ouellette
2003-04-23 16:02 ` Jeff Garzik
2003-04-23 20:32 ` pixi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EA6B13A.4000408@videotron.ca \
--to=ouellettes@videotron.ca \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).