]> Pileus Git - ~andy/linux/blobdiff - fs/xfs/xfs_sysctl.c
ext4: atomically set inode->i_flags in ext4_set_inode_flags()
[~andy/linux] / fs / xfs / xfs_sysctl.c
index 2801b5ce6cdb61d9ba03a1b518561a64924a7068..1743b9f8e23d1582ddbd30372a10d5559cb52b1e 100644 (file)
@@ -25,11 +25,11 @@ static struct ctl_table_header *xfs_table_header;
 #ifdef CONFIG_PROC_FS
 STATIC int
 xfs_stats_clear_proc_handler(
-       ctl_table       *ctl,
-       int             write,
-       void            __user *buffer,
-       size_t          *lenp,
-       loff_t          *ppos)
+       struct ctl_table        *ctl,
+       int                     write,
+       void                    __user *buffer,
+       size_t                  *lenp,
+       loff_t                  *ppos)
 {
        int             c, ret, *valp = ctl->data;
        __uint32_t      vn_active;
@@ -55,11 +55,11 @@ xfs_stats_clear_proc_handler(
 
 STATIC int
 xfs_panic_mask_proc_handler(
-       ctl_table       *ctl,
-       int             write,
-       void            __user *buffer,
-       size_t          *lenp,
-       loff_t          *ppos)
+       struct ctl_table        *ctl,
+       int                     write,
+       void                    __user *buffer,
+       size_t                  *lenp,
+       loff_t                  *ppos)
 {
        int             ret, *valp = ctl->data;
 
@@ -74,7 +74,7 @@ xfs_panic_mask_proc_handler(
 }
 #endif /* CONFIG_PROC_FS */
 
-static ctl_table xfs_table[] = {
+static struct ctl_table xfs_table[] = {
        {
                .procname       = "irix_sgid_inherit",
                .data           = &xfs_params.sgid_inherit.val,
@@ -227,7 +227,7 @@ static ctl_table xfs_table[] = {
        {}
 };
 
-static ctl_table xfs_dir_table[] = {
+static struct ctl_table xfs_dir_table[] = {
        {
                .procname       = "xfs",
                .mode           = 0555,
@@ -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",
                .mode           = 0555,