Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1f74cd
)
liblustre: add LUSTRE_POSIX_ACL_MAX_SIZE definition
author
nikita
<nikita>
Sat, 5 Aug 2006 10:04:59 +0000
(10:04 +0000)
committer
nikita
<nikita>
Sat, 5 Aug 2006 10:04:59 +0000
(10:04 +0000)
lustre/include/liblustre.h
patch
|
blob
|
history
diff --git
a/lustre/include/liblustre.h
b/lustre/include/liblustre.h
index
aaa369d
..
e0b5c0f
100644
(file)
--- 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