summaryrefslogtreecommitdiffstats
path: root/xlators/performance/stat-prefetch/src
diff options
context:
space:
mode:
authorvinayak hegde <vinayak@gluster.com>2009-11-04 23:36:35 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-05 02:53:44 -0800
commite98020d5f6f2f22f09d2c21d80ad8ceb6ae46284 (patch)
treeb3a31d6c051ca1fc59ba59daceca4ec4383a2ae9 /xlators/performance/stat-prefetch/src
parentf98e7524b4c442ae08c3a335d412b1eeccb5863b (diff)
performance/stat-prefetch: In lookup_cbk do not set error no to EINVAL, when inode_ctx_get returns -1.
Signed-off-by: vinayak <vinayak@laptop.(none)> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> 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
Diffstat (limited to 'xlators/performance/stat-prefetch/src')
-rw-r--r--xlators/performance/stat-prefetch/src/stat-prefetch.c3
1 files changed, 0 insertions, 3 deletions
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: