From d36e9ef1f212ceddb4d47d326c705e33b16bf2d8 Mon Sep 17 00:00:00 2001 From: nikita Date: Sat, 5 Aug 2006 10:04:59 +0000 Subject: [PATCH] liblustre: add LUSTRE_POSIX_ACL_MAX_SIZE definition --- lustre/include/liblustre.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/include/liblustre.h b/lustre/include/liblustre.h index aaa369d..e0b5c0f 100644 --- a/lustre/include/liblustre.h +++ b/lustre/include/liblustre.h @@ -883,6 +883,10 @@ void posix_acl_release(struct posix_acl *acl) { } +#define LUSTRE_POSIX_ACL_MAX_ENTRIES (32) +#define LUSTRE_POSIX_ACL_MAX_SIZE \ + (sizeof(xattr_acl_header) + 32 * sizeof(xattr_acl_entry)) + #ifndef ENOTSUPP #define ENOTSUPP ENOTSUP #endif -- 1.8.3.1