patch-1.3.4 linux/fs/ext/file.c

Next file: linux/fs/ext/symlink.c
Previous file: linux/fs/exec.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.3/linux/fs/ext/file.c linux/fs/ext/file.c
@@ -170,7 +170,7 @@
 				buf += chars;
 			} else {
 				while (chars-->0)
-					put_fs_byte(0,buf++);
+					put_user(0,buf++);
 			}
 			offset = 0;
 			if (++bhe == &buflist[NBUF])

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