Commit 0f2140be authored by Eric Sandeen's avatar Eric Sandeen Committed by Nathan Scott

[XFS] Fix sysctl handlers to expect ints

SGI Modid: 2.5.x-xfs:slinx:162288a
parent e8b65083
...@@ -51,7 +51,7 @@ xfs_stats_clear_proc_handler( ...@@ -51,7 +51,7 @@ xfs_stats_clear_proc_handler(
int c, ret, *valp = ctl->data; int c, ret, *valp = ctl->data;
__uint32_t vn_active; __uint32_t vn_active;
ret = proc_doulongvec_minmax(ctl, write, filp, buffer, lenp); ret = proc_dointvec_minmax(ctl, write, filp, buffer, lenp);
if (!ret && write && *valp) { if (!ret && write && *valp) {
printk("XFS Clearing xfsstats\n"); printk("XFS Clearing xfsstats\n");
......
...@@ -1952,7 +1952,7 @@ pb_stats_clear_handler( ...@@ -1952,7 +1952,7 @@ pb_stats_clear_handler(
int c, ret; int c, ret;
int *valp = ctl->data; int *valp = ctl->data;
ret = proc_doulongvec_minmax(ctl, write, filp, buffer, lenp); ret = proc_dointvec_minmax(ctl, write, filp, buffer, lenp);
if (!ret && write && *valp) { if (!ret && write && *valp) {
printk("XFS Clearing pbstats\n"); printk("XFS Clearing pbstats\n");
......
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