Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143964
b: refs/heads/master
c: b759113
h: refs/heads/master
v: v3
  • Loading branch information
Jens Axboe committed Apr 22, 2009
1 parent 81ab4f0 commit 05afa05
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 71982a409f12c50d011325a4471aa20666bb908d
refs/heads/master: b759113499d6c7cb75fab04f56772579308bc0f8
6 changes: 6 additions & 0 deletions trunk/block/blk-timeout.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,12 @@ void blk_abort_queue(struct request_queue *q)
struct request *rq, *tmp;
LIST_HEAD(list);

/*
* Not a request based block device, nothing to abort
*/
if (!q->request_fn)
return;

spin_lock_irqsave(q->queue_lock, flags);

elv_abort_queue(q);
Expand Down

0 comments on commit 05afa05

Please sign in to comment.