git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
fs
/
coda
/
sysctl.c
diff --git
a/fs/coda/sysctl.c
b/fs/coda/sysctl.c
index
f1692b5
..
fd98626
100644
(file)
--- a/
fs/coda/sysctl.c
+++ b/
fs/coda/sysctl.c
@@
-69,12
+69,12
@@
void reset_coda_cache_inv_stats( void )
}
int do_reset_coda_vfs_stats( ctl_table * table, int write, struct file * filp,
}
int do_reset_coda_vfs_stats( ctl_table * table, int write, struct file * filp,
- void __user * buffer, size_t * lenp )
+ void __user * buffer, size_t * lenp
, loff_t * ppos
)
{
if ( write ) {
reset_coda_vfs_stats();
{
if ( write ) {
reset_coda_vfs_stats();
-
filp->f_
pos += *lenp;
+
*p
pos += *lenp;
} else {
*lenp = 0;
}
} else {
*lenp = 0;
}
@@
-84,12
+84,12
@@
int do_reset_coda_vfs_stats( ctl_table * table, int write, struct file * filp,
int do_reset_coda_cache_inv_stats( ctl_table * table, int write,
struct file * filp, void __user * buffer,
int do_reset_coda_cache_inv_stats( ctl_table * table, int write,
struct file * filp, void __user * buffer,
- size_t * lenp )
+ size_t * lenp
, loff_t * ppos
)
{
if ( write ) {
reset_coda_cache_inv_stats();
{
if ( write ) {
reset_coda_cache_inv_stats();
-
filp->f_
pos += *lenp;
+
*p
pos += *lenp;
} else {
*lenp = 0;
}
} else {
*lenp = 0;
}
@@
-240,7
+240,7
@@
void coda_sysctl_clean(void)
#ifdef CONFIG_SYSCTL
if ( fs_table_header ) {
unregister_sysctl_table(fs_table_header);
#ifdef CONFIG_SYSCTL
if ( fs_table_header ) {
unregister_sysctl_table(fs_table_header);
- fs_table_header =
0
;
+ fs_table_header =
NULL
;
}
#endif
}
#endif