Added setting page owner to VM_DIRTY in write_cache_pages.

This commit is contained in:
Bahadir Balban
2008-10-30 11:11:21 +02:00
parent a2d2574eac
commit 87d1b91743

View File

@@ -502,6 +502,7 @@ copy:
page_copy(head, task_virt_to_page(task, copy_offset),
cursor_offset, copy_offset & PAGE_MASK, copysize);
head->flags |= VM_DIRTY;
head->owner->flags |= VM_DIRTY;
left -= copysize;
last_pgoff = head->offset;