2011-03-08 01:08:04

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the nfs tree

Hi Trond,

After merging the nfs tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

fs/nfs/inode.c: In function 'nfs_compat_user_ino64':
fs/nfs/inode.c:93: error: 'compat_ulong_t' undeclared (first use in this function)
fs/nfs/inode.c:93: error: expected ';' before 'ino'
fs/nfs/inode.c:100: error: 'ino' undeclared (first use in this function)

Caused by commit 5fa1ca22302da56ffa568e847100e80be90cc602 ("(try3-resend)
Fix nfs_compat_user_ino64 so it doesn't cause problems if bit 31 or 63
are set in fileid").

I have used the nfs tree from next-20110307 for today.
--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/


Attachments:
(No filename) (696.00 B)
(No filename) (490.00 B)
Download all attachments

2011-03-08 19:12:14

by Trond Myklebust

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the nfs tree

On Tue, 2011-03-08 at 12:07 +1100, Stephen Rothwell wrote:
> Hi Trond,
>
> After merging the nfs tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> fs/nfs/inode.c: In function 'nfs_compat_user_ino64':
> fs/nfs/inode.c:93: error: 'compat_ulong_t' undeclared (first use in this function)
> fs/nfs/inode.c:93: error: expected ';' before 'ino'
> fs/nfs/inode.c:100: error: 'ino' undeclared (first use in this function)
>
> Caused by commit 5fa1ca22302da56ffa568e847100e80be90cc602 ("(try3-resend)
> Fix nfs_compat_user_ino64 so it doesn't cause problems if bit 31 or 63
> are set in fileid").
>
> I have used the nfs tree from next-20110307 for today.

Thanks Stephen!

It looks to me as if we need to add a '#include <compat.h>'. I'll fix up
the patch...

Cheers
Trond