summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/afr/src/afr.h')
-rw-r--r--xlators/cluster/afr/src/afr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/cluster/afr/src/afr.h b/xlators/cluster/afr/src/afr.h
index 2c225cd6462..008839a7312 100644
--- a/xlators/cluster/afr/src/afr.h
+++ b/xlators/cluster/afr/src/afr.h
@@ -262,6 +262,7 @@ struct afr_reply {
int valid;
int32_t op_ret;
int32_t op_errno;
+ dict_t *xattr;/*For xattrop*/
dict_t *xdata;
struct iatt poststat;
struct iatt postparent;
@@ -568,12 +569,9 @@ typedef struct _afr_local {
struct {
dict_t *xattr;
+ gf_xattrop_flags_t optype;
} xattrop;
- struct {
- dict_t *xattr;
- } fxattrop;
-
/* dir write */
struct {
@@ -734,6 +732,8 @@ typedef struct _afr_local {
dict_t *xdata_req;
dict_t *xdata_rsp;
+ dict_t *xattr_rsp; /*for [f]xattrop*/
+
mode_t umask;
int xflag;
gf_boolean_t do_discovery;