Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167437
b: refs/heads/master
c: 8c27959
h: refs/heads/master
i:
  167435: 5272dc8
v: v3
  • Loading branch information
KOSAKI Motohiro authored and Jens Axboe committed Oct 9, 2009
1 parent 4681e2c commit a3ef78d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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: 355b659c87432a4e76160640625c47fcf9174e8d
refs/heads/master: 8c279598585e4992a41016bb973993ed15888cb3
4 changes: 1 addition & 3 deletions trunk/block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -1059,9 +1059,7 @@ ssize_t elv_iosched_store(struct request_queue *q, const char *name,
return count;

strlcpy(elevator_name, name, sizeof(elevator_name));
strstrip(elevator_name);

e = elevator_get(elevator_name);
e = elevator_get(strstrip(elevator_name));
if (!e) {
printk(KERN_ERR "elevator: type %s not found\n", elevator_name);
return -EINVAL;
Expand Down

0 comments on commit a3ef78d

Please sign in to comment.