提交 82592c38 编写于 作者: J Joe Perches 提交者: NeilBrown

md: Convert use of typedef ctl_table to struct ctl_table

This typedef is unnecessary and should just be removed.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NNeilBrown <neilb@suse.de>
上级 30b8feb7
...@@ -112,7 +112,7 @@ static inline int speed_max(struct mddev *mddev) ...@@ -112,7 +112,7 @@ static inline int speed_max(struct mddev *mddev)
static struct ctl_table_header *raid_table_header; static struct ctl_table_header *raid_table_header;
static ctl_table raid_table[] = { static struct ctl_table raid_table[] = {
{ {
.procname = "speed_limit_min", .procname = "speed_limit_min",
.data = &sysctl_speed_limit_min, .data = &sysctl_speed_limit_min,
...@@ -130,7 +130,7 @@ static ctl_table raid_table[] = { ...@@ -130,7 +130,7 @@ static ctl_table raid_table[] = {
{ } { }
}; };
static ctl_table raid_dir_table[] = { static struct ctl_table raid_dir_table[] = {
{ {
.procname = "raid", .procname = "raid",
.maxlen = 0, .maxlen = 0,
...@@ -140,7 +140,7 @@ static ctl_table raid_dir_table[] = { ...@@ -140,7 +140,7 @@ static ctl_table raid_dir_table[] = {
{ } { }
}; };
static ctl_table raid_root_table[] = { static struct ctl_table raid_root_table[] = {
{ {
.procname = "dev", .procname = "dev",
.maxlen = 0, .maxlen = 0,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册