* [patch 15/27] set_page_dirty() in mark_dirty_kiobuf()
@ 2002-07-04 23:54 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2002-07-04 23:54 UTC (permalink / raw)
To: Linus Torvalds; +Cc: lkml
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;
-
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-04 23:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-04 23:54 [patch 15/27] set_page_dirty() in mark_dirty_kiobuf() Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).