elevator_put(e->elevator_type);
elevator_put(e);
int elevator_init(request_queue_t *q, char *name){	struct elevator_type *e = NULL;	struct elevator_queue *eq;	int ret = 0;	INIT_LIST_HEAD(&q->queue_head);	q->last_merge = NULL;	q->end_sector = 0;	q->boundary_rq = NULL;	elevator_setup_default();	if (!name)		name = chosen_elevator;	e = elevator_get(name);	if (!e)		return -EINVAL;	eq = kmalloc(sizeof(struct elevator_queue), GFP_KERNEL);	if (!eq) {		elevator_put(e->elevator_type);		return -ENOMEM;	}	ret = elevator_attach(q, e, eq);	if (ret) {		kfree(eq);		elevator_put(e->elevator_type);	}	return ret;}