patch-2.4.16 linux/drivers/ide/ide-probe.c
Next file: linux/drivers/md/md.c
Previous file: linux/arch/ppc/mm/ppc_mmu.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sat Nov 24 16:22:06 2001
-  Orig file: 
linux-2.4.15/drivers/ide/ide-probe.c
-  Orig date: 
Thu Oct 11 13:14:32 2001
diff -Nur linux-2.4.15/drivers/ide/ide-probe.c linux/drivers/ide/ide-probe.c
@@ -779,7 +779,7 @@
 		/* IDE can do up to 128K per request. */
 		*max_sect++ = 255;
 #endif
-		*max_ra++ = MAX_READAHEAD;
+		*max_ra++ = vm_max_readahead;
 	}
 
 	for (unit = 0; unit < units; ++unit)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)