patch-2.3.46 linux/mm/filemap.c
Next file: linux/mm/mmap.c
Previous file: linux/kernel/printk.c
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
Mon Feb 14 15:02:39 2000
-  Orig file: 
v2.3.45/linux/mm/filemap.c
-  Orig date: 
Sun Feb 13 19:29:04 2000
diff -u --recursive --new-file v2.3.45/linux/mm/filemap.c linux/mm/filemap.c
@@ -479,8 +479,8 @@
 	struct page *alias;
 	unsigned long flags;
 
-	flags = page->flags & ~((1 << PG_uptodate) | (1 << PG_error) | (1 << PG_referenced));
-	page->flags = flags | (1 << PG_locked);
+	flags = page->flags & ~((1 << PG_uptodate) | (1 << PG_error));
+	page->flags = flags | (1 << PG_locked) | (1 << PG_referenced);
 	get_page(page);
 	page->index = offset;
 	add_page_to_inode_queue(mapping, page);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)