summaryrefslogtreecommitdiffstats
path: root/xlators/features/quota/src/quota.h
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2011-04-10 10:53:36 +0000
committerAnand Avati <avati@gluster.com>2011-04-11 05:43:47 -0700
commit1992dc12443f376f9b2974f4e830b4b17e3574c0 (patch)
tree736132e56e7ce3ff98d11d66d50614e694058843 /xlators/features/quota/src/quota.h
parent67d77aa96dccefe68a44473bf45cf6796e741b7d (diff)
features/quota: use signed type to store delta.
Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2604 (Quota: crossing the set limit) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2604
Diffstat (limited to 'xlators/features/quota/src/quota.h')
-rw-r--r--xlators/features/quota/src/quota.h2
1 files changed, 1 insertions, 1 deletions
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;