mirror of
https://github.com/drasko/codezero.git
synced 2026-11-26 10:53:54 +01:00
Added setting page owner to VM_DIRTY in write_cache_pages.
This commit is contained in:
@@ -502,6 +502,7 @@ copy:
|
|||||||
page_copy(head, task_virt_to_page(task, copy_offset),
|
page_copy(head, task_virt_to_page(task, copy_offset),
|
||||||
cursor_offset, copy_offset & PAGE_MASK, copysize);
|
cursor_offset, copy_offset & PAGE_MASK, copysize);
|
||||||
head->flags |= VM_DIRTY;
|
head->flags |= VM_DIRTY;
|
||||||
|
head->owner->flags |= VM_DIRTY;
|
||||||
left -= copysize;
|
left -= copysize;
|
||||||
last_pgoff = head->offset;
|
last_pgoff = head->offset;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user