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

Next file: linux/fs/hpfs/hpfs_fs.c
Previous file: linux/fs/ext2/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.3/linux/fs/ext2/symlink.c linux/fs/ext2/symlink.c
@@ -119,7 +119,7 @@
 	i = 0;
 	while (i < buflen && (c = link[i])) {
 		i++;
-		put_fs_byte (c, buffer++);
+		put_user (c, buffer++);
 	}
 	iput (inode);
 	if (bh)

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