summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/performance/write-behind/src/write-behind.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/performance/write-behind/src/write-behind.c b/xlators/performance/write-behind/src/write-behind.c
index ee533db20..ffa333ce8 100644
--- a/xlators/performance/write-behind/src/write-behind.c
+++ b/xlators/performance/write-behind/src/write-behind.c
@@ -232,10 +232,10 @@ out:
gf_boolean_t
wb_requests_overlap (wb_request_t *req1, wb_request_t *req2)
{
- off_t r1_start = 0;
- off_t r1_end = 0;
- off_t r2_start = 0;
- off_t r2_end = 0;
+ uint64_t r1_start = 0;
+ uint64_t r1_end = 0;
+ uint64_t r2_start = 0;
+ uint64_t r2_end = 0;
enum _gf_boolean do_overlap = 0;
r1_start = req1->ordering.off;