git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sysctl: remove "struct file *" argument of ->proc_handler
[safe/jmp/linux-2.6]
/
fs
/
xfs
/
linux-2.6
/
xfs_sysctl.c
diff --git
a/fs/xfs/linux-2.6/xfs_sysctl.c
b/fs/xfs/linux-2.6/xfs_sysctl.c
index
916c0ff
..
c5bc67c
100644
(file)
--- a/
fs/xfs/linux-2.6/xfs_sysctl.c
+++ b/
fs/xfs/linux-2.6/xfs_sysctl.c
@@
-26,7
+26,6
@@
STATIC int
xfs_stats_clear_proc_handler(
ctl_table *ctl,
int write,
xfs_stats_clear_proc_handler(
ctl_table *ctl,
int write,
- struct file *filp,
void __user *buffer,
size_t *lenp,
loff_t *ppos)
void __user *buffer,
size_t *lenp,
loff_t *ppos)
@@
-34,7
+33,7
@@
xfs_stats_clear_proc_handler(
int c, ret, *valp = ctl->data;
__uint32_t vn_active;
int c, ret, *valp = ctl->data;
__uint32_t vn_active;
- ret = proc_dointvec_minmax(ctl, write,
filp,
buffer, lenp, ppos);
+ ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos);
if (!ret && write && *valp) {
printk("XFS Clearing xfsstats\n");
if (!ret && write && *valp) {
printk("XFS Clearing xfsstats\n");