aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/blk-timeout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/block/blk-timeout.c b/block/blk-timeout.c
index 9b4ad138bb33..972a63f848fb 100644
--- a/block/blk-timeout.c
+++ b/block/blk-timeout.c
@@ -158,6 +158,8 @@ void blk_rq_timed_out_timer(unsigned long data)
158 */ 158 */
159void blk_abort_request(struct request *req) 159void blk_abort_request(struct request *req)
160{ 160{
161 if (blk_mark_rq_complete(req))
162 return;
161 blk_delete_timer(req); 163 blk_delete_timer(req);
162 blk_rq_timed_out(req); 164 blk_rq_timed_out(req);
163} 165}