Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
land clio.
[fs/lustre-release.git]
/
lustre
/
include
/
linux
/
lustre_acl.h
diff --git
a/lustre/include/linux/lustre_acl.h
b/lustre/include/linux/lustre_acl.h
index
f5d07a5
..
713341e
100644
(file)
--- a/
lustre/include/linux/lustre_acl.h
+++ b/
lustre/include/linux/lustre_acl.h
@@
-76,7
+76,11
@@
# define LUSTRE_POSIX_ACL_MAX_ENTRIES (32)
+#ifdef __KERNEL__
# define LUSTRE_POSIX_ACL_MAX_SIZE XATTR_ACL_SIZE
+#else
+# define LUSTRE_POSIX_ACL_MAX_SIZE 0
+#endif
# else /* CONFIG_FS_POSIX_ACL */
# define LUSTRE_POSIX_ACL_MAX_SIZE 0