Commit 3f27dd28 authored by Andrew Morton's avatar Andrew Morton Committed by Jeff Garzik

[PATCH] fix md /proc oops

It it is using a pointer to a ctl_table for its proc_handler function
pointer.  Goes oops.
parent 7bc4777d
...@@ -119,7 +119,7 @@ static ctl_table raid_root_table[] = { ...@@ -119,7 +119,7 @@ static ctl_table raid_root_table[] = {
.procname = "dev", .procname = "dev",
.maxlen = 0, .maxlen = 0,
.mode = 0555, .mode = 0555,
.proc_handler = raid_dir_table, .child = raid_dir_table,
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment