patch-2.3.25 linux/mm/highmem.c

Next file: linux/mm/memory.c
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.24/linux/mm/highmem.c linux/mm/highmem.c
@@ -68,8 +68,8 @@
 	kunmap(vaddr, KM_WRITE);
 
 	/* Preserve the caching of the swap_entry. */
-	highpage->offset = page->offset;
-	highpage->inode = page->inode;
+	highpage->index = page->index;
+	highpage->mapping = page->mapping;
 
 	/*
 	 * We can just forget the old page since 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)