patch-1.3.4 linux/fs/nfs/symlink.c

Next file: linux/fs/open.c
Previous file: linux/fs/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.3/linux/fs/nfs/symlink.c linux/fs/nfs/symlink.c
@@ -112,7 +112,7 @@
 	iput(inode);
 	if (! error) {
 		memcpy_tofs(buffer, res, len);
-		put_fs_byte('\0', buffer + len);
+		put_user('\0', buffer + len);
 		error = len;
 	}
 	kfree(mem);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this