Message ID | 20240215063649.2164017-4-hch@lst.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [01/14] writeback: don't call mapping_set_error on AOP_WRITEPAGE_ACTIVATE | expand |
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 703e83c69ffe08..2679176da316b3 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -2505,6 +2505,7 @@ int write_cache_pages(struct address_space *mapping, * keep going until we have written all the pages * we tagged for writeback prior to entering this loop. */ + done_index = folio->index + nr; wbc->nr_to_write -= nr; if (wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) {