diff options
-rw-r--r-- | xlators/performance/quick-read/src/quick-read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/quick-read/src/quick-read.c b/xlators/performance/quick-read/src/quick-read.c index 9e09422bb..9e036eb15 100644 --- a/xlators/performance/quick-read/src/quick-read.c +++ b/xlators/performance/quick-read/src/quick-read.c @@ -755,7 +755,7 @@ qr_readv (call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, } } - ctx = glusterfs_ctx_get (); + ctx = this->ctx; count = (op_ret / ctx->page_size) + 1; vector = CALLOC (count, sizeof (*vector)); |