diff options
Diffstat (limited to 'mm/page-writeback.c')
-rw-r--r-- | mm/page-writeback.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 789b6adbef37..ded57d528060 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c | |||
@@ -956,6 +956,9 @@ retry: | |||
956 | } | 956 | } |
957 | if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) | 957 | if (wbc->range_cyclic || (range_whole && wbc->nr_to_write > 0)) |
958 | mapping->writeback_index = index; | 958 | mapping->writeback_index = index; |
959 | |||
960 | if (wbc->range_cont) | ||
961 | wbc->range_start = index << PAGE_CACHE_SHIFT; | ||
959 | return ret; | 962 | return ret; |
960 | } | 963 | } |
961 | EXPORT_SYMBOL(write_cache_pages); | 964 | EXPORT_SYMBOL(write_cache_pages); |