git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
block: fix missing bio back/front segment size setting in blk_recount_segments()
[safe/jmp/linux-2.6]
/
block
/
noop-iosched.c
diff --git
a/block/noop-iosched.c
b/block/noop-iosched.c
index
7563d8a
..
3a0d369
100644
(file)
--- a/
block/noop-iosched.c
+++ b/
block/noop-iosched.c
@@
-76,7
+76,7
@@
static void *noop_init_queue(struct request_queue *q)
return nd;
}
return nd;
}
-static void noop_exit_queue(
elevator_t
*e)
+static void noop_exit_queue(
struct elevator_queue
*e)
{
struct noop_data *nd = e->elevator_data;
{
struct noop_data *nd = e->elevator_data;
@@
-101,7
+101,9
@@
static struct elevator_type elevator_noop = {
static int __init noop_init(void)
{
static int __init noop_init(void)
{
- return elv_register(&elevator_noop);
+ elv_register(&elevator_noop);
+
+ return 0;
}
static void __exit noop_exit(void)
}
static void __exit noop_exit(void)