/* * the request is prepped and may have some resources allocated. * allowing unprepped requests to pass this one may cause resource * deadlock.  turn on softbarrier. */ rq->flags |= REQ_SOFTBARRIER;  /* * if iosched has an explicit requeue hook, then use that. otherwise * just put the request at the front of the queue */ if (q->elevator->ops->elevator_requeue_req_fn) q->elevator->ops->elevator_requeue_req_fn(q, rq); else __elv_add_request(q, rq, ELEVATOR_INSERT_FRONT, 0); 
__elv_add_request(q, rq, ELEVATOR_INSERT_FRONT, 0); 
void elv_requeue_request(request_queue_t *q, struct request *rq){	elv_deactivate_request(q, rq);	/*	 * if this is the flush, requeue the original instead and drop the flush	 */	if (rq->flags & REQ_BAR_FLUSH) {		clear_bit(QUEUE_FLAG_FLUSH, &q->queue_flags);		rq = rq->end_io_data;	}	/*	 * the request is prepped and may have some resources allocated.	 * allowing unprepped requests to pass this one may cause resource	 * deadlock.  turn on softbarrier.	 */	rq->flags |= REQ_SOFTBARRIER;	/*	 * if iosched has an explicit requeue hook, then use that. otherwise	 * just put the request at the front of the queue	 */	if (q->elevator->ops->elevator_requeue_req_fn)		q->elevator->ops->elevator_requeue_req_fn(q, rq);	else		__elv_add_request(q, rq, ELEVATOR_INSERT_FRONT, 0);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/8922e16cf6269e668123acb1ae1fdc62b7a3a4fc/elevator.c/buggy/drivers/block/elevator.c