diff options
author | Joe Perches <joe@perches.com> | 2013-06-13 22:37:50 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-06-17 18:42:25 -0400 |
commit | b2410e92b70507e054deb6cdb605ee1d61fc7c95 (patch) | |
tree | a465d65ede69b21f1720f174516cd29b3cb0a5ce /fs/xfs/xfs_sysctl.c | |
parent | 9222a9cf86c0d64ffbedf567412b55da18763aa3 (diff) |
xfs: 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>
Acked-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_sysctl.c')
-rw-r--r-- | fs/xfs/xfs_sysctl.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/fs/xfs/xfs_sysctl.c b/fs/xfs/xfs_sysctl.c index 2801b5ce6cdb..1743b9f8e23d 100644 --- a/fs/xfs/xfs_sysctl.c +++ b/fs/xfs/xfs_sysctl.c | |||
@@ -25,11 +25,11 @@ static struct ctl_table_header *xfs_table_header; | |||
25 | #ifdef CONFIG_PROC_FS | 25 | #ifdef CONFIG_PROC_FS |
26 | STATIC int | 26 | STATIC int |
27 | xfs_stats_clear_proc_handler( | 27 | xfs_stats_clear_proc_handler( |
28 | ctl_table *ctl, | 28 | struct ctl_table *ctl, |
29 | int write, | 29 | int write, |
30 | void __user *buffer, | 30 | void __user *buffer, |
31 | size_t *lenp, | 31 | size_t *lenp, |
32 | loff_t *ppos) | 32 | loff_t *ppos) |
33 | { | 33 | { |
34 | int c, ret, *valp = ctl->data; | 34 | int c, ret, *valp = ctl->data; |
35 | __uint32_t vn_active; | 35 | __uint32_t vn_active; |
@@ -55,11 +55,11 @@ xfs_stats_clear_proc_handler( | |||
55 | 55 | ||
56 | STATIC int | 56 | STATIC int |
57 | xfs_panic_mask_proc_handler( | 57 | xfs_panic_mask_proc_handler( |
58 | ctl_table *ctl, | 58 | struct ctl_table *ctl, |
59 | int write, | 59 | int write, |
60 | void __user *buffer, | 60 | void __user *buffer, |
61 | size_t *lenp, | 61 | size_t *lenp, |
62 | loff_t *ppos) | 62 | loff_t *ppos) |
63 | { | 63 | { |
64 | int ret, *valp = ctl->data; | 64 | int ret, *valp = ctl->data; |
65 | 65 | ||
@@ -74,7 +74,7 @@ xfs_panic_mask_proc_handler( | |||
74 | } | 74 | } |
75 | #endif /* CONFIG_PROC_FS */ | 75 | #endif /* CONFIG_PROC_FS */ |
76 | 76 | ||
77 | static ctl_table xfs_table[] = { | 77 | static struct ctl_table xfs_table[] = { |
78 | { | 78 | { |
79 | .procname = "irix_sgid_inherit", | 79 | .procname = "irix_sgid_inherit", |
80 | .data = &xfs_params.sgid_inherit.val, | 80 | .data = &xfs_params.sgid_inherit.val, |
@@ -227,7 +227,7 @@ static ctl_table xfs_table[] = { | |||
227 | {} | 227 | {} |
228 | }; | 228 | }; |
229 | 229 | ||
230 | static ctl_table xfs_dir_table[] = { | 230 | static struct ctl_table xfs_dir_table[] = { |
231 | { | 231 | { |
232 | .procname = "xfs", | 232 | .procname = "xfs", |
233 | .mode = 0555, | 233 | .mode = 0555, |
@@ -236,7 +236,7 @@ static ctl_table xfs_dir_table[] = { | |||
236 | {} | 236 | {} |
237 | }; | 237 | }; |
238 | 238 | ||
239 | static ctl_table xfs_root_table[] = { | 239 | static struct ctl_table xfs_root_table[] = { |
240 | { | 240 | { |
241 | .procname = "fs", | 241 | .procname = "fs", |
242 | .mode = 0555, | 242 | .mode = 0555, |