Commit b2410e92 authored by Joe Perches's avatar Joe Perches Committed by Ben Myers

xfs: Convert use of typedef ctl_table to struct ctl_table

This typedef is unnecessary and should just be removed.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarDave Chinner <dchinner@redhat.com>
Reviewed-by: default avatarBen Myers <bpm@sgi.com>
Signed-off-by: default avatarBen Myers <bpm@sgi.com>
parent 9222a9cf
...@@ -25,7 +25,7 @@ static struct ctl_table_header *xfs_table_header; ...@@ -25,7 +25,7 @@ static struct ctl_table_header *xfs_table_header;
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
STATIC int STATIC int
xfs_stats_clear_proc_handler( xfs_stats_clear_proc_handler(
ctl_table *ctl, struct ctl_table *ctl,
int write, int write,
void __user *buffer, void __user *buffer,
size_t *lenp, size_t *lenp,
...@@ -55,7 +55,7 @@ xfs_stats_clear_proc_handler( ...@@ -55,7 +55,7 @@ xfs_stats_clear_proc_handler(
STATIC int STATIC int
xfs_panic_mask_proc_handler( xfs_panic_mask_proc_handler(
ctl_table *ctl, struct ctl_table *ctl,
int write, int write,
void __user *buffer, void __user *buffer,
size_t *lenp, size_t *lenp,
...@@ -74,7 +74,7 @@ xfs_panic_mask_proc_handler( ...@@ -74,7 +74,7 @@ xfs_panic_mask_proc_handler(
} }
#endif /* CONFIG_PROC_FS */ #endif /* CONFIG_PROC_FS */
static ctl_table xfs_table[] = { static struct ctl_table xfs_table[] = {
{ {
.procname = "irix_sgid_inherit", .procname = "irix_sgid_inherit",
.data = &xfs_params.sgid_inherit.val, .data = &xfs_params.sgid_inherit.val,
...@@ -227,7 +227,7 @@ static ctl_table xfs_table[] = { ...@@ -227,7 +227,7 @@ static ctl_table xfs_table[] = {
{} {}
}; };
static ctl_table xfs_dir_table[] = { static struct ctl_table xfs_dir_table[] = {
{ {
.procname = "xfs", .procname = "xfs",
.mode = 0555, .mode = 0555,
...@@ -236,7 +236,7 @@ static ctl_table xfs_dir_table[] = { ...@@ -236,7 +236,7 @@ static ctl_table xfs_dir_table[] = {
{} {}
}; };
static ctl_table xfs_root_table[] = { static struct ctl_table xfs_root_table[] = {
{ {
.procname = "fs", .procname = "fs",
.mode = 0555, .mode = 0555,
......
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