]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - mm/page-writeback.c
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
[linux-2.6.git] / mm / page-writeback.c
index b38f700825fca31b81a48ecce6d60b7856bfcf84..94c6d8988ab3239019ecc720b7ac0624e06016df 100644 (file)
@@ -960,6 +960,9 @@ retry:
        }
        if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0))
                mapping->writeback_index = index;
+
+       if (wbc->range_cont)
+               wbc->range_start = index << PAGE_CACHE_SHIFT;
        return ret;
 }
 EXPORT_SYMBOL(write_cache_pages);