patch-2.4.26 linux-2.4.26/mm/filemap.c
Next file: linux-2.4.26/mm/mremap.c
Previous file: linux-2.4.26/lib/crc32.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
2004-04-14 06:05:41.000000000 -0700
-  Orig file: 
linux-2.4.25/mm/filemap.c
-  Orig date: 
2004-02-18 05:36:32.000000000 -0800
diff -urN linux-2.4.25/mm/filemap.c linux-2.4.26/mm/filemap.c
@@ -1346,7 +1346,7 @@
 	while (ahead < max_ahead) {
 		unsigned long ra_index = raend + ahead + 1;
 
-		if (ra_index > end_index)
+		if (ra_index >= end_index)
 			break;
 		if (page_cache_read(filp, ra_index) < 0)
 			break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)