diff options
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, |
