[patch 15/27] set_page_dirty() in mark_dirty_kiobuf()

Andrew Morton (akpm@zip.com.au)
Thu, 04 Jul 2002 16:54:36 -0700


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.

memory.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

--- 2.5.24/mm/memory.c~mark_dirty_kiobuf Thu Jul 4 16:17:24 2002
+++ 2.5.24-akpm/mm/memory.c Thu Jul 4 16:22:03 2002
@@ -612,7 +612,7 @@ void mark_dirty_kiobuf(struct kiobuf *io
page = iobuf->maplist[index];

if (!PageReserved(page))
- SetPageDirty(page);
+ set_page_dirty(page);

remaining -= (PAGE_SIZE - offset);
offset = 0;

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/