From e98020d5f6f2f22f09d2c21d80ad8ceb6ae46284 Mon Sep 17 00:00:00 2001 From: vinayak hegde Date: Wed, 4 Nov 2009 23:36:35 +0000 Subject: performance/stat-prefetch: In lookup_cbk do not set error no to EINVAL, when inode_ctx_get returns -1. Signed-off-by: vinayak Signed-off-by: Anand V. Avati BUG: 360 (All fop fails when stat-prefetch is loaded on afr.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=360 --- xlators/performance/stat-prefetch/src/stat-prefetch.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'xlators/performance/stat-prefetch') diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.c b/xlators/performance/stat-prefetch/src/stat-prefetch.c index 9035ed9b2bf..342170b5ce1 100644 --- a/xlators/performance/stat-prefetch/src/stat-prefetch.c +++ b/xlators/performance/stat-prefetch/src/stat-prefetch.c @@ -553,9 +553,6 @@ sp_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this, list_del_init (&stub->list); call_resume (stub); } - } else { - op_errno = EINVAL; - op_ret = -1; } out: -- cgit