1
--- sync/kernel/file-io.c 2009-12-10 17:43:36.000000000 -0500
2
+++ trunk/kernel/file-io.c 2008-12-04 17:35:21.000000000 -0500
4
count = lu->blk_cnt << lu->blk_shift;
7
- res = filemap_write_and_wait_range(mapping, ppos, ppos + count - 1);
8
+ res = sync_page_range(inode, mapping, ppos, count);
10
eprintk("I/O error: syncing pages failed: %d\n", res);