Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18737
b: refs/heads/master
c: b7bfcf7
h: refs/heads/master
i:
  18735: 8b4ac47
v: v3
  • Loading branch information
Jens Axboe committed Jan 16, 2006
1 parent 7f4bb22 commit 76edc35
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 752a3b79630a290cbbe4731e7c61b75d4fbebc5c
refs/heads/master: b7bfcf7cbd58d2a64aa46f3b4bec921e346e604f
4 changes: 2 additions & 2 deletions trunk/block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ static void elevator_setup_default(void)
strcpy(chosen_elevator, "anticipatory");

/*
* If the given scheduler is not available, fall back to no-op.
* If the given scheduler is not available, fall back to the default
*/
if ((e = elevator_find(chosen_elevator)))
elevator_put(e);
else
strcpy(chosen_elevator, "noop");
strcpy(chosen_elevator, CONFIG_DEFAULT_IOSCHED);
}

static int __init elevator_setup(char *str)
Expand Down

0 comments on commit 76edc35

Please sign in to comment.