From 25b21b6d0889995c841c963247acb815ca69f694 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Tue, 21 Jun 2011 23:13:02 +0000 Subject: performance/quick-read: Perform error handling only when GF_CALLOC fails Signed-off-by: Vijay Bellur Signed-off-by: Anand Avati BUG: 3011 (Uninterruptible processes writing(reading ? ) to/from glusterfs share) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3011 --- xlators/performance/quick-read/src/quick-read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/performance') 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, -- cgit