]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - block/blk-exec.c
tg3: Clarify semantics of TG3_IRQ_MAX_VECS
[net-next-2.6.git] / block / blk-exec.c
index 49557e91f0dab58cda736b556378525dbea497b8..e1672f14840edbbe725f7b5e4c86f62399dd6153 100644 (file)
@@ -57,7 +57,7 @@ void blk_execute_rq_nowait(struct request_queue *q, struct gendisk *bd_disk,
        __elv_add_request(q, rq, where, 1);
        __generic_unplug_device(q);
        /* the queue is stopped so it won't be plugged+unplugged */
-       if (blk_pm_resume_request(rq))
+       if (rq->cmd_type == REQ_TYPE_PM_RESUME)
                q->request_fn(q);
        spin_unlock_irq(q->queue_lock);
 }