Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24429
b: refs/heads/master
c: 4c5d0bb
h: refs/heads/master
i:
  24427: 82b0f9c
v: v3
  • Loading branch information
Andrew Morton authored and Jens Axboe committed Mar 27, 2006
1 parent 93317de commit 7b8f64f
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: b8fca1c7682105c843319728d8e37b42b19092bb
refs/heads/master: 4c5d0bbde9669cfb7f7fd4670dc9a117aea90384
8 changes: 5 additions & 3 deletions trunk/block/ll_rw_blk.c
Original file line number Diff line number Diff line change
Expand Up @@ -2477,10 +2477,12 @@ void blk_execute_rq_nowait(request_queue_t *q, struct gendisk *bd_disk,
rq->rq_disk = bd_disk;
rq->flags |= REQ_NOMERGE;
rq->end_io = done;
elv_add_request(q, rq, where, 1);
generic_unplug_device(q);
WARN_ON(irqs_disabled());
spin_lock_irq(q->queue_lock);
__elv_add_request(q, rq, where, 1);
__generic_unplug_device(q);
spin_unlock_irq(q->queue_lock);
}

EXPORT_SYMBOL_GPL(blk_execute_rq_nowait);

/**
Expand Down

0 comments on commit 7b8f64f

Please sign in to comment.