summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2011-06-21 05:07:04 +0000
committerAnand Avati <avati@gluster.com>2011-07-29 01:28:05 -0700
commit1c1171c70869738bb7a368b86d1f6cab8467a3f6 (patch)
tree47481c65bce44b3766b2c80a9982c0e947215b29
parent8bed407e822ab3ae3e5102012282affe06a4cdf6 (diff)
performance/quick-read: Perform error handling only when GF_CALLOC fails
Change-Id: I7a1e2cae3de8794b252ebbf0de7ffab5ba2900d1 BUG: 3011 Reviewed-on: http://review.gluster.com/51 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
-rw-r--r--xlators/performance/quick-read/src/quick-read.c2
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 f894902ee84..163285a913a 100644
--- a/xlators/performance/quick-read/src/quick-read.c
+++ b/xlators/performance/quick-read/src/quick-read.c
@@ -1161,8 +1161,8 @@ out:
op_errno = ENOMEM;
need_unwind = 1;
qr_fd_ctx->open_in_transit = 0;
+ goto fdctx_unlock;
}
- goto fdctx_unlock;
}
stub = fop_readv_stub (frame,