summaryrefslogtreecommitdiffstats
path: root/xlators/performance
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2011-06-21 23:13:02 +0000
committerAnand Avati <avati@gluster.com>2011-06-22 08:42:08 -0700
commit25b21b6d0889995c841c963247acb815ca69f694 (patch)
tree055b858eff634a4809a9f4b5eda72902e3ae03bb /xlators/performance
parente2ac34fcc26e4e22d97aad8ac263d7a726f71bac (diff)
performance/quick-read: Perform error handling only when GF_CALLOC fails
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 3011 (Uninterruptible processes writing(reading ? ) to/from glusterfs share) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3011
Diffstat (limited to 'xlators/performance')
-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 465881080a4..2d7f4f205ee 100644
--- a/xlators/performance/quick-read/src/quick-read.c
+++ b/xlators/performance/quick-read/src/quick-read.c
@@ -1270,8 +1270,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,