51
51
int where = at_head ? ELEVATOR_INSERT_FRONT : ELEVATOR_INSERT_BACK;
55
62
WARN_ON(irqs_disabled());
56
63
spin_lock_irq(q->queue_lock);
57
64
__elv_add_request(q, rq, where);
60
67
if (rq->cmd_type == REQ_TYPE_PM_RESUME)
62
69
spin_unlock_irq(q->queue_lock);