Commit 9bd6f86b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] set_page_dirty() in mark_dirty_kiobuf()

Yet another SetPageDirty/set_page_dirty bugfix: mark_dirty_kiobuf needs
to run set_page_dirty() so the page goes onto its mapping's dirty_pages
list.
parent 6ef5d4bb
......@@ -612,7 +612,7 @@ void mark_dirty_kiobuf(struct kiobuf *iobuf, int bytes)
page = iobuf->maplist[index];
if (!PageReserved(page))
SetPageDirty(page);
set_page_dirty(page);
remaining -= (PAGE_SIZE - offset);
offset = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment