Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13993
b: refs/heads/master
c: cff3ba2
h: refs/heads/master
i:
  13991: 62659b7
v: v3
  • Loading branch information
Zachary Amsden authored and Jens Axboe committed Nov 12, 2005
1 parent ca02842 commit 15e6d00
Show file tree
Hide file tree
Showing 2 changed files with 4 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: b8ea2cb5120a92fe63053a2896be42abbb919a76
refs/heads/master: cff3ba2204a0797b05150a4b2b7f40a55023d952
5 changes: 3 additions & 2 deletions trunk/block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,10 @@ static void elevator_setup_default(void)
/*
* If the given scheduler is not available, fall back to no-op.
*/
if (!(e = elevator_find(chosen_elevator)))
if ((e = elevator_find(chosen_elevator)))
elevator_put(e);
else
strcpy(chosen_elevator, "noop");
elevator_put(e);
}

static int __init elevator_setup(char *str)
Expand Down

0 comments on commit 15e6d00

Please sign in to comment.