lkml.org 
[lkml]   [2002]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectPATCH: 2.5.40 flush the right thing in the rd cache
Date
From
(From Matthew Wilcox)

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.40/drivers/block/rd.c linux.2.5.40-ac5/drivers/block/rd.c
--- linux.2.5.40/drivers/block/rd.c 2002-10-02 21:34:05.000000000 +0100
+++ linux.2.5.40-ac5/drivers/block/rd.c 2002-10-03 00:17:22.000000000 +0100
@@ -213,7 +213,7 @@
kunmap(vec->bv_page);

if (rw == READ) {
- flush_dcache_page(page);
+ flush_dcache_page(sbh->b_page);
} else {
SetPageDirty(page);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:29    [W:2.231 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site