patch-2.1.4 linux/fs/nfs/proc.c
Next file: linux/fs/nfs/symlink.c
Previous file: linux/fs/nfs/inode.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Oct 13 21:11:19 1996
- Orig file:
v2.1.3/linux/fs/nfs/proc.c
- Orig date:
Wed Jul 3 13:52:09 1996
diff -u --recursive --new-file v2.1.3/linux/fs/nfs/proc.c linux/fs/nfs/proc.c
@@ -148,7 +148,7 @@
p[quadlen] = 0;
*p++ = htonl(len);
- memcpy_fromfs(p, data, len);
+ copy_from_user(p, data, len);
return p + quadlen;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov