Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251137
b: refs/heads/master
c: 490b94b
h: refs/heads/master
i:
  251135: c235490
v: v3
  • Loading branch information
Kees Cook authored and Jens Axboe committed May 6, 2011
1 parent 75ab63a commit c8208b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: addd0a09fc06179f2e02b4221775d9ab265c9fc7
refs/heads/master: 490b94be0282c3b67f56453628ff0aaae827a670
7 changes: 1 addition & 6 deletions trunk/block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,8 @@ static struct elevator_type *elevator_get(const char *name)

e = elevator_find(name);
if (!e) {
char elv[ELV_NAME_MAX + strlen("-iosched")];

spin_unlock(&elv_list_lock);

snprintf(elv, sizeof(elv), "%s-iosched", name);

request_module("%s", elv);
request_module("%s-iosched", name);
spin_lock(&elv_list_lock);
e = elevator_find(name);
}
Expand Down

0 comments on commit c8208b2

Please sign in to comment.