summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src/acl3.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/nfs/server/src/acl3.h')
-rw-r--r--xlators/nfs/server/src/acl3.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/acl3.h b/xlators/nfs/server/src/acl3.h
index e0e61281a6c..03d626f3e00 100644
--- a/xlators/nfs/server/src/acl3.h
+++ b/xlators/nfs/server/src/acl3.h
@@ -16,6 +16,12 @@
#define GF_ACL3_PORT 38469
#define GF_ACL GF_NFS"-ACL"
+/* Flags for the getacl/setacl mode */
+#define NFS_ACL 0x0001
+#define NFS_ACLCNT 0x0002
+#define NFS_DFACL 0x0004
+#define NFS_DFACLCNT 0x0008
+
/*
* NFSv3, identifies the default ACL by NFS_ACL_DEFAULT. Gluster
* NFS needs to mask it OFF before sending it upto POSIX layer