From: nikita Date: Sat, 5 Aug 2006 10:04:59 +0000 (+0000) Subject: liblustre: add LUSTRE_POSIX_ACL_MAX_SIZE definition X-Git-Tag: v1_8_0_110~486^2~1263 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d36e9ef1f212ceddb4d47d326c705e33b16bf2d8;p=fs%2Flustre-release.git liblustre: add LUSTRE_POSIX_ACL_MAX_SIZE definition --- 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