patch-2.1.17 linux/fs/buffer.c
Next file: linux/fs/fat/cache.c
Previous file: linux/fs/binfmt_elf.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Thu Dec 19 16:46:09 1996
-  Orig file: 
v2.1.16/linux/fs/buffer.c
-  Orig date: 
Thu Dec 12 19:37:17 1996
diff -u --recursive --new-file v2.1.16/linux/fs/buffer.c linux/fs/buffer.c
@@ -1907,7 +1907,7 @@
 {
 	int i;
 	int isize = BUFSIZE_INDEX(BLOCK_SIZE);
-	long memsize = max_mapnr << PAGE_SHIFT;
+	long memsize = num_physpages << PAGE_SHIFT;
 
 	if (memsize >= 64*1024*1024)
 		nr_hash = 65521;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov