diff options
Diffstat (limited to 'xlators/features/gfid-access/src/gfid-access.c')
-rw-r--r-- | xlators/features/gfid-access/src/gfid-access.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/features/gfid-access/src/gfid-access.c b/xlators/features/gfid-access/src/gfid-access.c index 7d75b09bae0..49d781c59ba 100644 --- a/xlators/features/gfid-access/src/gfid-access.c +++ b/xlators/features/gfid-access/src/gfid-access.c @@ -291,7 +291,7 @@ ga_fill_tmp_loc (loc_t *loc, xlator_t *this, uuid_t gfid, int ret = -1; uint64_t value = 0; inode_t *parent = NULL; - uuid_t *gfid_ptr = NULL; + unsigned char *gfid_ptr = NULL; parent = loc->inode; ret = inode_ctx_get (loc->inode, this, &value); @@ -323,8 +323,8 @@ ga_fill_tmp_loc (loc_t *loc, xlator_t *this, uuid_t gfid, ret = -1; goto out; } - gf_uuid_copy (*gfid_ptr, gfid); - ret = dict_set_dynptr (xdata, "gfid-req", gfid_ptr, sizeof (uuid_t)); + gf_uuid_copy (gfid_ptr, gfid); + ret = dict_set_gfuuid (xdata, "gfid-req", gfid_ptr, false); if (ret < 0) goto out; |