summaryrefslogtreecommitdiffstats
path: root/xlators/performance/quick-read
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2011-06-21 05:07:04 +0000
committerAnand Avati <avati@gluster.com>2011-06-22 08:40:47 -0700
commit305b40239fda0b01537f05f94c3184e9523594c4 (patch)
treec81ff49ac7c04851652f3c47f5e81c7da74a6778 /xlators/performance/quick-read
parentf63dabd5d68a0904967705937380fed1eb9c99cf (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/quick-read')
-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 1a458f4a672..d19fa2cf68d 100644
--- a/xlators/performance/quick-read/src/quick-read.c
+++ b/xlators/performance/quick-read/src/quick-read.c
@@ -1272,8 +1272,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,