[Devel,RHEL7,COMMIT] mm/gup: s/set_page_dirty()/set_page_dirty_mm()

Submitted by Konstantin Khorenko on Nov. 7, 2016, 8:39 a.m.

Details

Message ID 201611070839.uA78dkDM030271@finist_cl7.x64_64.work.ct
State New
Series "mm/gup: s/set_page_dirty()/set_page_dirty_mm()"
Headers show

Commit Message

Konstantin Khorenko Nov. 7, 2016, 8:39 a.m.
The commit is pushed to "branch-rh7-3.10.0-493.vz7.25.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-493.el7
------>
commit 253d2d1fb934cd99038bb40d0f1a9e4e5eaee140
Author: Andrey Ryabinin <aryabinin@virtuozzo.com>
Date:   Mon Nov 7 12:39:45 2016 +0400

    mm/gup: s/set_page_dirty()/set_page_dirty_mm()
    
    This code moved from mm/memory.c during rebase, we've lost
    set_page_dirty_mm() that was there.
    
    To be merged into commit 53dba9e212cc3f440acc60a8d333df3967931937
    ("Initial patch commit + compilation fixes").
    
    https://jira.sw.ru/browse/PSBM-54816
    
    Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
---
 mm/gup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/mm/gup.c b/mm/gup.c
index d2ab11b..3ab1a89 100644
--- a/mm/gup.c
+++ b/mm/gup.c
@@ -212,7 +212,7 @@  split_fallthrough:
 	if (flags & FOLL_TOUCH) {
 		if ((flags & FOLL_WRITE) &&
 		    !pte_dirty(pte) && !PageDirty(page))
-			set_page_dirty(page);
+			set_page_dirty_mm(page, mm);
 		/*
 		 * pte_mkyoung() would be more correct here, but atomic care
 		 * is needed to avoid losing the dirty bit: it is easier to use