summaryrefslogtreecommitdiffstats
path: root/xlators/system
diff options
context:
space:
mode:
authorKaushal M <kaushal@gluster.com>2011-11-15 18:26:44 +0530
committerAnand Avati <avati@redhat.com>2012-03-26 15:13:43 -0700
commit3184ad0f88255fdec5a33b29790f677848c422e3 (patch)
tree55441181255acce5d11ef6aaaacbb38c829a10a6 /xlators/system
parent98b98d6cd7d94bfae5b4a7b54b04b59bf9381df9 (diff)
cluster/dht : Acl fix for distribute directory selfheal
Send acl xattrs, if present in the xattrs returned during lookup, during directory self-heal. Change-Id: I5337bbd3f3963aeed500a8a552e5f6713089b53e BUG: 764787 Signed-off-by: Kaushal M <kaushal@redhat.com> Reviewed-on: http://review.gluster.com/737 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/system')
-rw-r--r--xlators/system/posix-acl/src/posix-acl-xattr.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/xlators/system/posix-acl/src/posix-acl-xattr.h b/xlators/system/posix-acl/src/posix-acl-xattr.h
index 85c4e545c..e9ef3ceb8 100644
--- a/xlators/system/posix-acl/src/posix-acl-xattr.h
+++ b/xlators/system/posix-acl/src/posix-acl-xattr.h
@@ -25,11 +25,9 @@
#include "common-utils.h"
#include "posix-acl.h"
+#include "glusterfs.h"
-#define POSIX_ACL_ACCESS_XATTR "system.posix_acl_access"
-#define POSIX_ACL_DEFAULT_XATTR "system.posix_acl_default"
-
-#define POSIX_ACL_VERSION 2
+#define POSIX_ACL_VERSION 2
struct posix_acl_xattr_entry {
uint16_t tag;