patch-2.1.106 linux/fs/romfs/inode.c

Next file: linux/include/asm-alpha/bitops.h
Previous file: linux/fs/proc/array.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.105/linux/fs/romfs/inode.c linux/fs/romfs/inode.c
@@ -282,7 +282,7 @@
 	/* Not really failsafe, but we are read-only... */
 	for(;;) {
 		if (!offset || offset >= maxoff) {
-			offset = 0xffffffff;
+			offset = maxoff;
 			filp->f_pos = offset;
 			return stored;
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov