4 #include <linux/kernel.h>
5 #include <linux/module.h>
25 rq->end_io_data =
NULL;
54 int where = at_head ? ELEVATOR_INSERT_FRONT : ELEVATOR_INSERT_BACK;
59 rq->rq_disk = bd_disk;
65 is_pm_resume = rq->cmd_type == REQ_TYPE_PM_RESUME;
67 spin_lock_irq(q->queue_lock);
72 rq->end_io(rq, rq->errors);
73 spin_unlock_irq(q->queue_lock);
82 spin_unlock_irq(q->queue_lock);
103 unsigned long hang_check;
112 memset(sense, 0,
sizeof(sense));
117 rq->end_io_data = &
wait;