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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Timothy Shimmin
Date: Tuesday, June 24, 2008 - 6:52 pm

Timothy Shimmin 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))
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: Tree for June 24, Stephen Rothwell, (Tue Jun 24, 12:56 am)
[BUILD-FAILURE] linux-next: Tree for June 24 - missing fil ..., Kamalesh Babulal, (Tue Jun 24, 10:53 am)
Re: linux-next: Tree for June 24 (XFS x2), Randy Dunlap, (Tue Jun 24, 5:18 pm)
Re: linux-next: Tree for June 24 (ivtv), Randy Dunlap, (Tue Jun 24, 5:24 pm)
Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2), Timothy Shimmin, (Tue Jun 24, 6:31 pm)
Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2), Timothy Shimmin, (Tue Jun 24, 6:52 pm)
Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2), Lachlan McIlroy, (Tue Jun 24, 7:01 pm)
Re: linux-next: Tree for June 24 (ivtv), Hans Verkuil, (Tue Jun 24, 11:05 pm)
Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2), Christoph Hellwig, (Thu Jun 26, 1:17 am)
Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2), Stephen Rothwell, (Fri Jun 27, 12:26 am)
Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2), Christoph Hellwig, (Fri Jun 27, 6:20 am)
Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2), Christoph Hellwig, (Fri Jun 27, 6:23 am)
Re: [BUILD-FAILURE] linux-next: Tree for June 24 - missing ..., Mauro Carvalho Chehab, (Sun Jun 29, 4:43 am)
Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2), Christoph Hellwig, (Wed Jul 16, 12:19 am)
Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2), Timothy Shimmin, (Wed Jul 16, 10:26 pm)
Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2), Stephen Rothwell, (Thu Jul 17, 1:28 am)