Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29189
b: refs/heads/master
c: a038e25
h: refs/heads/master
i:
  29187: 54e2067
v: v3
  • Loading branch information
Paolo 'Blaisorblade' Giarrusso authored and Jens Axboe committed Jun 23, 2006
1 parent b7daa5c commit 761cd45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bae386f7884aa3720cc7880b36a41a1d2b9c327b
refs/heads/master: a038e2536472b4dd932399b5277e65f188811de5
5 changes: 4 additions & 1 deletion trunk/block/ll_rw_blk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1663,6 +1663,8 @@ static void blk_unplug_timeout(unsigned long data)
**/
void blk_start_queue(request_queue_t *q)
{
WARN_ON(!irqs_disabled());

clear_bit(QUEUE_FLAG_STOPPED, &q->queue_flags);

/*
Expand Down Expand Up @@ -1878,7 +1880,8 @@ EXPORT_SYMBOL(blk_alloc_queue_node);
* get dealt with eventually.
*
* The queue spin lock must be held while manipulating the requests on the
* request queue.
* request queue; this lock will be taken also from interrupt context, so irq
* disabling is needed for it.
*
* Function returns a pointer to the initialized request queue, or NULL if
* it didn't succeed.
Expand Down

0 comments on commit 761cd45

Please sign in to comment.