Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143970
b: refs/heads/master
c: 17d5c8c
h: refs/heads/master
v: v3
  • Loading branch information
Hannes Reinecke authored and Jens Axboe committed Apr 24, 2009
1 parent 9a45df2 commit 15f11d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3c737de8f57b5ce756010c2175f7d574194b30d
refs/heads/master: 17d5c8ca7572124c9623045f24b0c21d4aa2b47f
7 changes: 7 additions & 0 deletions trunk/block/blk-timeout.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,13 @@ void blk_abort_queue(struct request_queue *q)
list_for_each_entry_safe(rq, tmp, &list, timeout_list)
blk_abort_request(rq);

/*
* Occasionally, blk_abort_request() will return without
* deleting the element from the list. Make sure we add those back
* instead of leaving them on the local stack list.
*/
list_splice(&list, &q->timeout_list);

spin_unlock_irqrestore(q->queue_lock, flags);

}
Expand Down

0 comments on commit 15f11d5

Please sign in to comment.