patch-2.4.20 linux-2.4.20/drivers/block/rd.c

Next file: linux-2.4.20/drivers/block/umem.c
Previous file: linux-2.4.20/drivers/block/ps2esdi.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/block/rd.c linux-2.4.20/drivers/block/rd.c
@@ -217,7 +217,7 @@
 		bh_kunmap(sbh);
 
 		if (rw == READ) {
-			flush_dcache_page(page);
+			flush_dcache_page(sbh->b_page);
 		} else {
 			SetPageDirty(page);
 		}

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