Subject: Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2)

From: Dave Chinner <[email-masked]>
Date: Wed, 25 Jun 2008 10:37:51 +1000

On Tue, Jun 24, 2008 at 05:18:09PM -0700, Randy Dunlap wrote:
> XFS shows 2 build problems today.
> 
> 1. xfs_stats.h problem
> 
>   CC      fs/xfs/xfs_rtalloc.o
> In file included from /local/linsrc/linux-next-20080624/fs/xfs/linux-2.6/xfs_linux.h:91,
>                  from /local/linsrc/linux-next-20080624/fs/xfs/xfs.h:44,
>                  from /local/linsrc/linux-next-20080624/fs/xfs/xfs_rtalloc.c:18:
> /local/linsrc/linux-next-20080624/fs/xfs/linux-2.6/xfs_stats.h: In function 'xfs_init_procfs':
> /local/linsrc/linux-next-20080624/fs/xfs/linux-2.6/xfs_stats.h:150: error: expected ';' before '}' token
> make[3]: *** [fs/xfs/xfs_rtalloc.o] Error 1

This will be a !CONFIG_PROC_FS change.

Lachlan/Niv - This is the guilty party:

http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/xfs-2.6.git;a=commit;h=e0fe783155e4f1c7106f3579c258b9f995330c19

The commit log is:

[XFS]
 
 SGI-PV: 111111
 SGI-Modid: xfs-linux-melb:xfs-kern:31210a
 
 Signed-off-by: Niv Sardi <[email-masked]>
 Signed-off-by: Lachlan McIlroy <[email-masked]>
---

What the hell happened here? Where's the commit title, description
so this can be tracked back to a real patch?  That PV# is also bogus....

I suspect that it is this patch:

http://oss.sgi.com/archives/xfs/2008-05/msg00322.html

Which means that the Signed-Off-By list is incorrect as well as the original
patch came from Christoph. This can't go to mainline like this - the commit log
needs to be fixed up.

> 2. ACL's undefined
> 
>   CC      fs/xfs/linux-2.6/xfs_xattr.o
> /local/linsrc/linux-next-20080624/fs/xfs/linux-2.6/xfs_xattr.c: In function 'xfs_decode_acl':
> /local/linsrc/linux-next-20080624/fs/xfs/linux-2.6/xfs_xattr.c:40: error: '_ACL_TYPE_ACCESS' undeclared (first use in this function)
> /local/linsrc/linux-next-20080624/fs/xfs/linux-2.6/xfs_xattr.c:40: error: (Each undeclared identifier is reported only once
> /local/linsrc/linux-next-20080624/fs/xfs/linux-2.6/xfs_xattr.c:40: error: for each function it appears in.)
> /local/linsrc/linux-next-20080624/fs/xfs/linux-2.6/xfs_xattr.c:42: error: '_ACL_TYPE_DEFAULT' undeclared (first use in this function)
> make[3]: *** [fs/xfs/linux-2.6/xfs_xattr.o] Error 1

And this will be a !CONFIG_XFS_POSIX_ACL build, I think.

Christoph - this is part of your change to use the generic ACL stuff,
can you have a look?

Cheers,

Dave.
-- 
Dave Chinner
[email-masked]