From fcd9175ee73b9fe4fddf4348a3f9dbc395e14a01 Mon Sep 17 00:00:00 2001 From: vinayak hegde Date: Wed, 4 Nov 2009 23:48:06 +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 Hegde 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') diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.c b/xlators/performance/stat-prefetch/src/stat-prefetch.c index 69f9f2ba89c..26bac60b76d 100644 --- a/xlators/performance/stat-prefetch/src/stat-prefetch.c +++ b/xlators/performance/stat-prefetch/src/stat-prefetch.c @@ -644,9 +644,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