From 1992dc12443f376f9b2974f4e830b4b17e3574c0 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Sun, 10 Apr 2011 10:53:36 +0000 Subject: features/quota: use signed type to store delta. Signed-off-by: Raghavendra G Signed-off-by: Anand Avati BUG: 2604 (Quota: crossing the set limit) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2604 --- xlators/features/quota/src/quota.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features/quota/src/quota.h') diff --git a/xlators/features/quota/src/quota.h b/xlators/features/quota/src/quota.h index fce2e54bd60..7250a5dc9d3 100644 --- a/xlators/features/quota/src/quota.h +++ b/xlators/features/quota/src/quota.h @@ -148,7 +148,7 @@ struct quota_local { loc_t oldloc; loc_t newloc; loc_t validate_loc; - uint32_t delta; + int64_t delta; int32_t op_ret; int32_t op_errno; int64_t size; -- cgit