patch-2.1.45 linux/mm/page_io.c
Next file: linux/mm/simp.c
Previous file: linux/mm/mremap.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Jul 13 21:20:11 1997
-  Orig file: 
v2.1.44/linux/mm/page_io.c
-  Orig date: 
Mon Jun 16 16:36:01 1997
diff -u --recursive --new-file v2.1.44/linux/mm/page_io.c linux/mm/page_io.c
@@ -98,7 +98,7 @@
 			return;
 		wait_on_page(page);
 	} else if (p->swap_file) {
-		struct inode *swapf = p->swap_file;
+		struct inode *swapf = p->swap_file->d_inode;
 		unsigned int zones[PAGE_SIZE/512];
 		int i;
 		if (swapf->i_op->bmap == NULL
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov