patch-2.1.4 linux/fs/nfs/symlink.c
Next file: linux/fs/open.c
Previous file: linux/fs/nfs/proc.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/symlink.c
- Orig date:
Fri Dec 22 13:00:19 1995
diff -u --recursive --new-file v2.1.3/linux/fs/nfs/symlink.c linux/fs/nfs/symlink.c
@@ -109,7 +109,7 @@
&res, &len, buflen);
iput(inode);
if (! error) {
- memcpy_tofs(buffer, res, len);
+ copy_to_user(buffer, res, len);
put_user('\0', buffer + len);
error = len;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov