xfs-masters
[Top] [All Lists]

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

To: Timothy Shimmin <tes@xxxxxxx>
Subject: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2)
From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Fri, 27 Jun 2008 17:26:14 +1000
Cc: xfs-masters@xxxxxxxxxxx, linux-next@xxxxxxxxxxxxxxx, LKML <linux-kernel@xxxxxxxxxxxxxxx>, "Alexander Beregalov" <a.beregalov@xxxxxxxxx>
In-reply-to: <4861A4E8.1060101@xxxxxxx>
References: <20080624175612.cdf29651.sfr@xxxxxxxxxxxxxxxx> <20080624171809.42bbdf68.randy.dunlap@xxxxxxxxxx> <20080625003751.GP29319@disturbed> <4861A00E.6040801@xxxxxxx> <4861A4E8.1060101@xxxxxxx>
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
On Wed, 25 Jun 2008 11:52:40 +1000 Timothy Shimmin <tes@xxxxxxx> wrote:
>
> So we could move up the acl defines in xfs_acl.h.
> Unless Christoph wants some other rearrangement...
> 
> Index: 2.6.x-xfs-quilt/fs/xfs/xfs_acl.h
> ===================================================================
> --- 2.6.x-xfs-quilt.orig/fs/xfs/xfs_acl.h     2008-06-25 10:46:42.000000000 
> +1000
> +++ 2.6.x-xfs-quilt/fs/xfs/xfs_acl.h  2008-06-25 11:45:25.221045485 +1000
> @@ -46,6 +46,8 @@ typedef struct xfs_acl {
>  #define SGI_ACL_FILE_SIZE    (sizeof(SGI_ACL_FILE)-1)
>  #define SGI_ACL_DEFAULT_SIZE (sizeof(SGI_ACL_DEFAULT)-1)
>  
> +#define _ACL_TYPE_ACCESS     1
> +#define _ACL_TYPE_DEFAULT    2
>  
>  #ifdef CONFIG_XFS_POSIX_ACL
>  
> @@ -66,8 +68,6 @@ extern int xfs_acl_vset(bhv_vnode_t *, v
>  extern int xfs_acl_vget(bhv_vnode_t *, void *, size_t, int);
>  extern int xfs_acl_vremove(bhv_vnode_t *, int);
>  
> -#define _ACL_TYPE_ACCESS     1
> -#define _ACL_TYPE_DEFAULT    2
>  #define _ACL_PERM_INVALID(perm)      ((perm) & 
> ~(ACL_READ|ACL_WRITE|ACL_EXECUTE))
>  
>  #define _ACL_INHERIT(c,m,d)  (xfs_acl_inherit(c,m,d))
> 
I have applied this to linux-next for today, please apply it (or
something similar) to the xfs tree soon.

-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

-- Attached file included as plaintext by Ecartis --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhklhYACgkQTgG2atn1QN8VngCfXEvOn4b/xqF9mJrYitz+mpwt
ttsAmwZ8w7lUl2cMKGC+co8+sKSPSz8V
=RPGa
-----END PGP SIGNATURE-----



<Prev in Thread] Current Thread [Next in Thread>