X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=fs%2Fxfs%2Flinux-2.6%2Fxfs_sysctl.c;h=c2452965734eccd4242d4ff642e05ac68637619f;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=4a173d3d8916bd12166af53371585ce2cb3e5100;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/fs/xfs/linux-2.6/xfs_sysctl.c b/fs/xfs/linux-2.6/xfs_sysctl.c index 4a173d3d8..c24529657 100644 --- a/fs/xfs/linux-2.6/xfs_sysctl.c +++ b/fs/xfs/linux-2.6/xfs_sysctl.c @@ -45,7 +45,7 @@ xfs_stats_clear_proc_handler( ctl_table *ctl, int write, struct file *filp, - void *buffer, + void __user *buffer, size_t *lenp, loff_t *ppos) { @@ -129,6 +129,11 @@ STATIC ctl_table xfs_table[] = { &sysctl_intvec, NULL, &xfs_params.xfs_buf_age.min, &xfs_params.xfs_buf_age.max}, + {XFS_INHERIT_NOSYM, "inherit_nosymlinks", &xfs_params.inherit_nosym.val, + sizeof(int), 0644, NULL, &proc_dointvec_minmax, + &sysctl_intvec, NULL, + &xfs_params.inherit_nosym.min, &xfs_params.inherit_nosym.max}, + /* please keep this the last entry */ #ifdef CONFIG_PROC_FS {XFS_STATS_CLEAR, "stats_clear", &xfs_params.stats_clear.val,