Commit 9dbad95a authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Linus Torvalds

[PATCH] fix rd.c compilation

x86 doesn't evaluate the argument to flush_dcache_page so this compilation
problem has gone overlooked:
parent 6d92ffb3
......@@ -204,7 +204,7 @@ static int rd_blkdev_pagecache_IO(int rw, struct bio_vec *vec, sector_t sector,
kunmap(vec->bv_page);
if (rw == READ) {
flush_dcache_page(sbh->b_page);
flush_dcache_page(vec->bv_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