linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] ACL: increase the #define XFS_ACL_MAX_ENTRIES to 128 The xfsprogs xfs_repair will have to be increased also if this is okay.
@ 2012-07-05 20:33 Brad Arrington
  2012-07-05 22:08 ` Dave Chinner
  0 siblings, 1 reply; 2+ messages in thread
From: Brad Arrington @ 2012-07-05 20:33 UTC (permalink / raw)
  To: Ben Myers, Alex Elder, xfs, linux-kernel; +Cc: Brad Arrington


Signed-off-by: Brad Arrington <bradla8@yahoo.com>
---
 fs/xfs/xfs_acl.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_acl.h b/fs/xfs/xfs_acl.h
index 39632d9..716d4d2 100644
--- a/fs/xfs/xfs_acl.h
+++ b/fs/xfs/xfs_acl.h
@@ -22,7 +22,7 @@ struct inode;
 struct posix_acl;
 struct xfs_inode;
 
-#define XFS_ACL_MAX_ENTRIES 25
+#define XFS_ACL_MAX_ENTRIES 128
 #define XFS_ACL_NOT_PRESENT (-1)
 
 /* On-disk XFS access control list structure */
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] ACL: increase the #define XFS_ACL_MAX_ENTRIES to 128 The xfsprogs xfs_repair will have to be increased also if this is okay.
  2012-07-05 20:33 [PATCH 1/1] ACL: increase the #define XFS_ACL_MAX_ENTRIES to 128 The xfsprogs xfs_repair will have to be increased also if this is okay Brad Arrington
@ 2012-07-05 22:08 ` Dave Chinner
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Chinner @ 2012-07-05 22:08 UTC (permalink / raw)
  To: Brad Arrington; +Cc: Ben Myers, Alex Elder, xfs, linux-kernel

On Thu, Jul 05, 2012 at 01:33:11PM -0700, Brad Arrington wrote:
> 
> Signed-off-by: Brad Arrington <bradla8@yahoo.com>
> ---
>  fs/xfs/xfs_acl.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/xfs/xfs_acl.h b/fs/xfs/xfs_acl.h
> index 39632d9..716d4d2 100644
> --- a/fs/xfs/xfs_acl.h
> +++ b/fs/xfs/xfs_acl.h
> @@ -22,7 +22,7 @@ struct inode;
>  struct posix_acl;
>  struct xfs_inode;
>  
> -#define XFS_ACL_MAX_ENTRIES 25
> +#define XFS_ACL_MAX_ENTRIES 128

That's an on disk format change - you can't just increase it like
that without some kind of superblock feature bit to indicate that
the limit is 128 rather than 25 on that filesystem.

As it is, if we are going to change it, it will get changed to allow
the maximum number of ACLs an attribute can hold, not another
arbitrary number like 128....

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-05 22:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-05 20:33 [PATCH 1/1] ACL: increase the #define XFS_ACL_MAX_ENTRIES to 128 The xfsprogs xfs_repair will have to be increased also if this is okay Brad Arrington
2012-07-05 22:08 ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).