diff options
-rw-r--r-- | mm/page_io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/page_io.c b/mm/page_io.c index 8e0e5c0..eb3300f 100644 --- a/mm/page_io.c +++ b/mm/page_io.c @@ -231,6 +231,8 @@ int __swap_writepage(struct page *page, struct writeback_control *wbc, if (ret == PAGE_SIZE) { count_vm_event(PSWPOUT); ret = 0; + } else { + set_page_dirty(page); } return ret; } |