Commit 41738f27 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] flush the right thing in the rd cache

(From Matthew Wilcox)
parent ce488461
......@@ -213,7 +213,7 @@ static int rd_blkdev_pagecache_IO(int rw, struct bio_vec *vec,
kunmap(vec->bv_page);
if (rw == READ) {
flush_dcache_page(page);
flush_dcache_page(sbh->b_page);
} else {
SetPageDirty(page);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment