Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11833
b: refs/heads/master
c: 2ca7d93
h: refs/heads/master
i:
  11831: 3b2f0f5
v: v3
  • Loading branch information
Nate Diller authored and Linus Torvalds committed Oct 31, 2005
1 parent 31758bc commit 13a0ca4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 3fa63c7d82ab9a12a5d0a299069f8df9f35aa011
refs/heads/master: 2ca7d93bb27876e5fd4ebfcb3b00627107bdad4d
4 changes: 3 additions & 1 deletion trunk/drivers/block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,10 @@ ssize_t elv_iosched_store(request_queue_t *q, const char *name, size_t count)
return -EINVAL;
}

if (!strcmp(elevator_name, q->elevator->elevator_type->elevator_name))
if (!strcmp(elevator_name, q->elevator->elevator_type->elevator_name)) {
elevator_put(e);
return count;
}

elevator_switch(q, e);
return count;
Expand Down

0 comments on commit 13a0ca4

Please sign in to comment.