summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/quota/src/quota.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c
index 8a8523a890e..0b0f8ce9364 100644
--- a/xlators/features/quota/src/quota.c
+++ b/xlators/features/quota/src/quota.c
@@ -528,7 +528,7 @@ quota_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
quota_inode_ctx_t *ctx = NULL;
quota_dentry_t *dentry = NULL;
quota_priv_t *priv = NULL;
- int64_t size = 0;
+ int64_t *size = 0;
local = frame->local;
@@ -559,7 +559,7 @@ quota_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
ret = dict_get_bin (dict, QUOTA_SIZE_KEY,
(void **) &size);
if (ret == 0) {
- ctx->size = ntoh64 (size);
+ ctx->size = ntoh64 (*size);
gettimeofday (&ctx->tv, NULL);
}
}