diff options
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index e229970e4223..1cc6bfbd872e 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -2053,7 +2053,8 @@ static int do_wp_page(struct mm_struct *mm, struct vm_area_struct *vma, | |||
2053 | old_page = vm_normal_page(vma, address, orig_pte); | 2053 | old_page = vm_normal_page(vma, address, orig_pte); |
2054 | if (!old_page) { | 2054 | if (!old_page) { |
2055 | /* | 2055 | /* |
2056 | * VM_MIXEDMAP !pfn_valid() case | 2056 | * VM_MIXEDMAP !pfn_valid() case, or VM_SOFTDIRTY clear on a |
2057 | * VM_PFNMAP VMA. | ||
2057 | * | 2058 | * |
2058 | * We should not cow pages in a shared writeable mapping. | 2059 | * We should not cow pages in a shared writeable mapping. |
2059 | * Just mark the pages writable as we can't do any dirty | 2060 | * Just mark the pages writable as we can't do any dirty |