summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvinayak hegde <vinayak@gluster.com>2009-11-04 23:48:06 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-05 04:23:26 -0800
commitfcd9175ee73b9fe4fddf4348a3f9dbc395e14a01 (patch)
treea49537f24f408074ab6af679f6268a87e1ece8d3
parent3624eb02435d6c0b6035aa4a00baf53fd2604253 (diff)
performance/stat-prefetch: In lookup_cbk do not set error no to EINVAL, when inode_ctx_get returns -1.
Signed-off-by: Vinayak Hegde <vinayak@gluster.com> 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
-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 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: