summaryrefslogtreecommitdiff
path: root/btt/trace_requeue.c
diff options
context:
space:
mode:
Diffstat (limited to 'btt/trace_requeue.c')
-rw-r--r--btt/trace_requeue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btt/trace_requeue.c b/btt/trace_requeue.c
index 66f3b05..55bb3f4 100644
--- a/btt/trace_requeue.c
+++ b/btt/trace_requeue.c
@@ -38,7 +38,6 @@ int retry_requeue(struct io *r_iop)
if (!ready_requeue(r_iop, r_iop))
return 0;
- del_retry(r_iop);
run_requeue(r_iop);
return 1;
}
@@ -60,6 +59,7 @@ void run_requeue(struct io *r_iop)
run_unissue(d_iop, &del_head);
__unlink(d_iop, r_iop);
+ del_retry(r_iop);
list_add_tail(&r_iop->f_head, &del_head);
release_iops(&del_head);
}