noop insert

From: Shailabh Nagar
Date: Thu Dec 23 2004 - 11:02:12 EST

In noop-iosched.c (2.6.10-rc2),

void elevator_noop_add_request(request_queue_t *q, struct request *rq,
int where)
struct list_head *insert = q->queue_head.prev;

insert = &q->queue_head;

list_add_tail(&rq->queuelist, &q->queue_head);

shouldn't the insertion happen at insert instead of q->queue_head ?

-- Shailabh
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at