summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorTao Ma <boyu.mt@taobao.com>2011-05-05 23:10:05 +0200
committerJens Axboe <jaxboe@fusionio.com>2011-05-05 23:10:05 +0200
commitaddd0a09fc06179f2e02b4221775d9ab265c9fc7 (patch)
tree4e8c919a2937cd3d37d8a5c2f23e28ab130000a5 /block
parentblock: don't block events on excl write for non-optical devices (diff)
downloadlinux-addd0a09fc06179f2e02b4221775d9ab265c9fc7.tar.xz
linux-addd0a09fc06179f2e02b4221775d9ab265c9fc7.zip
block: Remove 'plug/unplug' comment in blk_execute_rq_nowait
unplug is replaced with blk_run_queue now in blk_execute_rq_nowait, so change the comment accordingly. Signed-off-by: Tao Ma <boyu.mt@taobao.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block')
-rw-r--r--block/blk-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-exec.c b/block/blk-exec.c
index 81e31819a597..8a0e7ec056e7 100644
--- a/block/blk-exec.c
+++ b/block/blk-exec.c
@@ -56,7 +56,7 @@ void blk_execute_rq_nowait(struct request_queue *q, struct gendisk *bd_disk,
spin_lock_irq(q->queue_lock);
__elv_add_request(q, rq, where);
__blk_run_queue(q);
- /* the queue is stopped so it won't be plugged+unplugged */
+ /* the queue is stopped so it won't be run */
if (rq->cmd_type == REQ_TYPE_PM_RESUME)
q->request_fn(q);
spin_unlock_irq(q->queue_lock);