patch-1.3.99 linux/mm/filemap.c
Next file: linux/mm/swapfile.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index
-  Lines: 10
 -  Date:
Mon May  6 12:44:32 1996
 -  Orig file: 
v1.3.98/linux/mm/filemap.c
 -  Orig date: 
Sun May  5 08:52:05 1996
 
diff -u --recursive --new-file v1.3.98/linux/mm/filemap.c linux/mm/filemap.c
@@ -779,7 +779,8 @@
 		free_page(page);
 		return new_page;
 	}
-	flush_page_to_ram(page);
+	if (page)
+		flush_page_to_ram(page);
 	return page;
 }
 
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