lkml.org 
[lkml]   [2002]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch 15/27] 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.


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/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.067 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site