aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/filemap.c')
-rw-r--r--mm/filemap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index c1b1708cc95d..3ef20739e725 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -183,8 +183,8 @@ static int sync_page(void *word)
183 * these two operations is that if a dirty page/buffer is encountered, it must 183 * these two operations is that if a dirty page/buffer is encountered, it must
184 * be waited upon, and not just skipped over. 184 * be waited upon, and not just skipped over.
185 */ 185 */
186static int __filemap_fdatawrite_range(struct address_space *mapping, 186int __filemap_fdatawrite_range(struct address_space *mapping, loff_t start,
187 loff_t start, loff_t end, int sync_mode) 187 loff_t end, int sync_mode)
188{ 188{
189 int ret; 189 int ret;
190 struct writeback_control wbc = { 190 struct writeback_control wbc = {
@@ -213,8 +213,8 @@ int filemap_fdatawrite(struct address_space *mapping)
213} 213}
214EXPORT_SYMBOL(filemap_fdatawrite); 214EXPORT_SYMBOL(filemap_fdatawrite);
215 215
216static int filemap_fdatawrite_range(struct address_space *mapping, 216static int filemap_fdatawrite_range(struct address_space *mapping, loff_t start,
217 loff_t start, loff_t end) 217 loff_t end)
218{ 218{
219 return __filemap_fdatawrite_range(mapping, start, end, WB_SYNC_ALL); 219 return __filemap_fdatawrite_range(mapping, start, end, WB_SYNC_ALL);
220} 220}
@@ -233,7 +233,7 @@ EXPORT_SYMBOL(filemap_flush);
233 * Wait for writeback to complete against pages indexed by start->end 233 * Wait for writeback to complete against pages indexed by start->end
234 * inclusive 234 * inclusive
235 */ 235 */
236static int wait_on_page_writeback_range(struct address_space *mapping, 236int wait_on_page_writeback_range(struct address_space *mapping,
237 pgoff_t start, pgoff_t end) 237 pgoff_t start, pgoff_t end)
238{ 238{
239 struct pagevec pvec; 239 struct pagevec pvec;