summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src/marker-quota.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/marker/src/marker-quota.c')
-rw-r--r--xlators/features/marker/src/marker-quota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/src/marker-quota.c b/xlators/features/marker/src/marker-quota.c
index 02c6c4cf767..0e457e58bbc 100644
--- a/xlators/features/marker/src/marker-quota.c
+++ b/xlators/features/marker/src/marker-quota.c
@@ -208,7 +208,7 @@ update_size_xattr (call_frame_t *frame, void *cookie, xlator_t *this,
QUOTA_ALLOC_OR_GOTO (delta, int64_t, ret, err);
- *delta = ntoh64 (ntoh64 (*size) - local->sum);
+ *delta = hton64 (ntoh64 (*size) - local->sum);
gf_log (this->name, GF_LOG_DEBUG, "calculated size = %"PRId64", "
"original size = %"PRIu64