Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44549
b: refs/heads/master
c: c65fb61
h: refs/heads/master
i:
  44547: f533b5c
v: v3
  • Loading branch information
Jens Axboe committed Dec 13, 2006
1 parent 5b53ccf commit 14bb4ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 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: c4977f596c5bce4d20fbd22cdb03486112985622
refs/heads/master: c65fb61b3c92ad8f99f16c7a2c11247bfaf0a1da
15 changes: 1 addition & 14 deletions trunk/block/as-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -1462,20 +1462,7 @@ static struct elevator_type iosched_as = {

static int __init as_init(void)
{
int ret;

ret = elv_register(&iosched_as);
if (!ret) {
/*
* don't allow AS to get unregistered, since we would have
* to browse all tasks in the system and release their
* as_io_context first
*/
__module_get(THIS_MODULE);
return 0;
}

return ret;
return elv_register(&iosched_as);
}

static void __exit as_exit(void)
Expand Down

0 comments on commit 14bb4ef

Please sign in to comment.