lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 29 Oct 2008 16:16:26 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Zan Lynx <zlynx@....org>
Cc:	linux-kernel@...r.kernel.org, jack@...e.cz
Subject: Re: 2.6.28-rc2-mm1: Build failure on fs/quota.o

On Wed, 29 Oct 2008 16:58:10 -0600
Zan Lynx <zlynx@....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@...ux-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@...e.cz>
Reported-by: Zan Lynx <zlynx@....org>
Signed-off-by: Andrew Morton <akpm@...ux-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;
_

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ