Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96161
b: refs/heads/master
c: dbaf2c0
h: refs/heads/master
i:
  96159: 16f6fd8
v: v3
  • Loading branch information
Jens Axboe committed May 7, 2008
1 parent 0c524bf commit 2953317
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 2cdf79cafbd11580f5b63cd4993b45c1c4952415
refs/heads/master: dbaf2c003e151ad9231778819b0977f95e20e06f
8 changes: 5 additions & 3 deletions trunk/block/blk-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,11 @@ EXPORT_SYMBOL(__generic_unplug_device);
**/
void generic_unplug_device(struct request_queue *q)
{
spin_lock_irq(q->queue_lock);
__generic_unplug_device(q);
spin_unlock_irq(q->queue_lock);
if (blk_queue_plugged(q)) {
spin_lock_irq(q->queue_lock);
__generic_unplug_device(q);
spin_unlock_irq(q->queue_lock);
}
}
EXPORT_SYMBOL(generic_unplug_device);

Expand Down

0 comments on commit 2953317

Please sign in to comment.