diff options
Diffstat (limited to 'block/blk-timeout.c')
-rw-r--r-- | block/blk-timeout.c | 2 |
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 | */ |
159 | void blk_abort_request(struct request *req) | 159 | void 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 | } |