summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src
diff options
context:
space:
mode:
authorCsaba Henk <csaba@redhat.com>2012-09-06 23:21:55 +0200
committerAnand Avati <avati@redhat.com>2012-09-06 15:48:46 -0700
commit8b6fe1072561c64f190db6f001f235bf9a30c138 (patch)
tree44092303e74d3675a96c224f6e0bff330908ab83 /xlators/storage/posix/src
parentff4b227910903b0958bdd5437d6d93ddb54919ce (diff)
posix: adjust new xattrops to new dict API
- http://review.gluster.org/3909 introduces new xattrops - http://review.gluster.org/3829 changes the dict API The new xattrops has been written against the old dict API, but been committed after the dict API change, resulting in a build error. Change-Id: I10b9acc79927f3505b5e13116653fb9a584ffd31 BUG: 850917 Signed-off-by: Csaba Henk <csaba@redhat.com> Reviewed-on: http://review.gluster.org/3915 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src')
-rw-r--r--xlators/storage/posix/src/posix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index 9e23c4b7..d24e70cb 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -3229,14 +3229,14 @@ do_xattrop (call_frame_t *frame, xlator_t *this, loc_t *loc, fd_t *fd,
case GF_XATTROP_OR_ARRAY:
__or_array ((int32_t *) array,
- (int32_t *) trav->value->data,
- trav->value->len / 4);
+ (int32_t *) v->data,
+ v->len / 4);
break;
case GF_XATTROP_AND_ARRAY:
__and_array ((int32_t *) array,
- (int32_t *) trav->value->data,
- trav->value->len / 4);
+ (int32_t *) v->data,
+ v->len / 4);
break;
default: