Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23682
b: refs/heads/master
c: ce52449
h: refs/heads/master
v: v3
  • Loading branch information
Eric Sesterhenn authored and Adrian Bunk committed Mar 24, 2006
1 parent c742de6 commit 08b17b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: c5d3237c2424c4a3cf69d33abc1f229943468367
refs/heads/master: ce52449742697f6f51be2a7c275a4ab2a73885b8
3 changes: 1 addition & 2 deletions trunk/block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -728,8 +728,7 @@ void elv_unregister_queue(struct request_queue *q)
int elv_register(struct elevator_type *e)
{
spin_lock_irq(&elv_list_lock);
if (elevator_find(e->elevator_name))
BUG();
BUG_ON(elevator_find(e->elevator_name));
list_add_tail(&e->list, &elv_list);
spin_unlock_irq(&elv_list_lock);

Expand Down

0 comments on commit 08b17b8

Please sign in to comment.