aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/page-writeback.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index dd73d29c15a8..abc648f5de00 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -1020,12 +1020,10 @@ int do_writepages(struct address_space *mapping, struct writeback_control *wbc)
1020 1020
1021 if (wbc->nr_to_write <= 0) 1021 if (wbc->nr_to_write <= 0)
1022 return 0; 1022 return 0;
1023 wbc->for_writepages = 1;
1024 if (mapping->a_ops->writepages) 1023 if (mapping->a_ops->writepages)
1025 ret = mapping->a_ops->writepages(mapping, wbc); 1024 ret = mapping->a_ops->writepages(mapping, wbc);
1026 else 1025 else
1027 ret = generic_writepages(mapping, wbc); 1026 ret = generic_writepages(mapping, wbc);
1028 wbc->for_writepages = 0;
1029 return ret; 1027 return ret;
1030} 1028}
1031 1029