Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29191
b: refs/heads/master
c: acf4217
h: refs/heads/master
i:
  29189: 761cd45
  29187: 54e2067
  29183: abd2282
v: v3
  • Loading branch information
Dave Jones authored and Jens Axboe committed Jun 23, 2006
1 parent 977df18 commit e773020
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fda151d9feafc0e8418f23c716587c44394fcdbf
refs/heads/master: acf421755593f7d7bd9352d57eda796c6eb4fa43
3 changes: 0 additions & 3 deletions trunk/block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -850,12 +850,9 @@ static int elevator_switch(request_queue_t *q, struct elevator_type *new_e)
* one again (along with re-adding the sysfs dir)
*/
elevator_exit(e);
e = NULL;
q->elevator = old_elevator;
elv_register_queue(q);
clear_bit(QUEUE_FLAG_ELVSWITCH, &q->queue_flags);
if (e)
kobject_put(&e->kobj);
return 0;
}

Expand Down

0 comments on commit e773020

Please sign in to comment.