diff options
author | Joe Perches <joe@perches.com> | 2013-11-14 05:16:18 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-11-19 05:19:18 +0100 |
commit | 82592c38a85889fc9b52bf67afd4f6a336858a96 (patch) | |
tree | 9f50566b0b920bac1eb31971bbba733df5ee5334 /drivers/md | |
parent | md/raid5: avoid deadlock when raid5 array has unack badblocks during md_stop_... (diff) | |
download | linux-82592c38a85889fc9b52bf67afd4f6a336858a96.tar.xz linux-82592c38a85889fc9b52bf67afd4f6a336858a96.zip |
md: Convert use of typedef ctl_table to struct ctl_table
This typedef is unnecessary and should just be removed.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/md.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 47e7bc74ed38..84fbc5bf4203 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -112,7 +112,7 @@ static inline int speed_max(struct mddev *mddev) static struct ctl_table_header *raid_table_header; -static ctl_table raid_table[] = { +static struct ctl_table raid_table[] = { { .procname = "speed_limit_min", .data = &sysctl_speed_limit_min, @@ -130,7 +130,7 @@ static ctl_table raid_table[] = { { } }; -static ctl_table raid_dir_table[] = { +static struct ctl_table raid_dir_table[] = { { .procname = "raid", .maxlen = 0, @@ -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", .maxlen = 0, |