summaryrefslogtreecommitdiffstats
path: root/xlators/performance/stat-prefetch/src/stat-prefetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance/stat-prefetch/src/stat-prefetch.c')
-rw-r--r--xlators/performance/stat-prefetch/src/stat-prefetch.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.c b/xlators/performance/stat-prefetch/src/stat-prefetch.c
index e9235f59b..d5a206aee 100644
--- a/xlators/performance/stat-prefetch/src/stat-prefetch.c
+++ b/xlators/performance/stat-prefetch/src/stat-prefetch.c
@@ -265,11 +265,6 @@ sp_process_inode_ctx (call_frame_t *frame, xlator_t *this, loc_t *loc,
LOCK (&inode_ctx->lock);
{
- if (inode_ctx->op_ret == -1) {
- op_errno = inode_ctx->op_errno;
- goto unlock;
- }
-
if (!(inode_ctx->looked_up || inode_ctx->lookup_in_progress)) {
if (frame->local == NULL) {
local = CALLOC (1, sizeof (*local));
@@ -1091,10 +1086,6 @@ wind:
stub = NULL;
} else {
can_wind = 1;
- }
-
- if (!(inode_ctx->looked_up
- || inode_ctx->lookup_in_progress)) {
inode_ctx->lookup_in_progress = 1;
}
}