patch-2.4.17 linux/fs/nfsd/vfs.c
Next file: linux/fs/nls/nls_big5.c
Previous file: linux/fs/nfs/write.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Fri Dec 21 16:40:32 2001
- Orig file:
linux-2.4.16/fs/nfsd/vfs.c
- Orig date:
Fri Oct 5 19:23:53 2001
diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/fs/nfsd/vfs.c linux/fs/nfsd/vfs.c
@@ -560,9 +560,13 @@
return NULL;
rap = frap;
ra = *frap;
- memset(ra, 0, sizeof(*ra));
ra->p_dev = dev;
ra->p_ino = ino;
+ ra->p_reada = 0;
+ ra->p_ramax = 0;
+ ra->p_raend = 0;
+ ra->p_ralen = 0;
+ ra->p_rawin = 0;
found:
if (rap != &raparm_cache) {
*rap = ra->p_next;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)