LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Zan Lynx <zlynx@acm.org>
Cc: linux-kernel@vger.kernel.org, jack@suse.cz
Subject: Re: 2.6.28-rc2-mm1: Build failure on fs/quota.o
Date: Wed, 29 Oct 2008 16:16:26 -0700	[thread overview]
Message-ID: <20081029161626.1fa5acb0.akpm@linux-foundation.org> (raw)
In-Reply-To: <4908EA82.8090308@acm.org>

On Wed, 29 Oct 2008 16:58:10 -0600
Zan Lynx <zlynx@acm.org> wrote:

> Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.28-rc2/2.6.28-rc2-mm1/
> > 
> > - Various architectures don't compile very well.  ia64, alpha, s390,
> >   arm.  ftrace seems to be a particular culprit.
> > 
> > - But it seems to work OK on the six machines I ran it on.
> > 
> 
> Here is the error:
> 
>   CC      fs/quota.o
> fs/quota.c: In function ___generic_quotactl_valid___:
> fs/quota.c:76: error: implicit declaration of function ___sb_has_quota_active___
> make[1]: *** [fs/quota.o] Error 1
> make: *** [fs] Error 2

Thanks.

From: Andrew Morton <akpm@linux-foundation.org>

fs/quota.c: In function `generic_quotactl_valid':
fs/quota.c:76: error: implicit declaration of function `sb_has_quota_active'

Cc: Jan Kara <jack@suse.cz>
Reported-by: Zan Lynx <zlynx@acm.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/quotaops.h |    5 +++++
 1 file changed, 5 insertions(+)

diff -puN include/linux/quotaops.h~quota-permit-separately-enabling-quota-accounting-and-enforcing-limits-fix include/linux/quotaops.h
--- a/include/linux/quotaops.h~quota-permit-separately-enabling-quota-accounting-and-enforcing-limits-fix
+++ a/include/linux/quotaops.h
@@ -257,6 +257,11 @@ static inline int sb_any_quota_loaded(st
 	return 0;
 }
 
+static inline int sb_has_quota_active(struct super_block *sb, int type)
+{
+	return 0;
+}
+
 static inline int sb_any_quota_active(struct super_block *sb)
 {
 	return 0;
_


  reply	other threads:[~2008-10-29 23:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-29  6:38 2.6.28-rc2-mm1 Andrew Morton
2008-10-29  7:45 ` [PATCH -mm] spi: fix compile error Fernando Luis Vázquez Cao
2008-10-29 10:28 ` [BUILD-FAILURE] 2.6.28-rc2-mm1 - build breaks on powerpc with !GENERIC_BUG Kamalesh Babulal
2008-10-29 20:46 ` 2.6.28-rc2-mm1: possible circular locking Mariusz Kozlowski
2008-10-29 20:58   ` Andrew Morton
2008-10-29 21:54     ` Arjan van de Ven
2008-10-31  3:21     ` KOSAKI Motohiro
2008-10-29 22:58 ` 2.6.28-rc2-mm1: Build failure on fs/quota.o Zan Lynx
2008-10-29 23:16   ` Andrew Morton [this message]
2008-10-30  5:32     ` Kamalesh Babulal
2008-10-30 16:46     ` Zan Lynx

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=20081029161626.1fa5acb0.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=jack@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zlynx@acm.org \
    --subject='Re: 2.6.28-rc2-mm1: Build failure on fs/quota.o' \
    /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

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).