From 8b6fe1072561c64f190db6f001f235bf9a30c138 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Thu, 6 Sep 2012 23:21:55 +0200 Subject: 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 Reviewed-on: http://review.gluster.org/3915 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- xlators/storage/posix/src/posix.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xlators/storage') diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 9e23c4b721b..d24e70cbd55 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: -- cgit