diff options
Diffstat (limited to 'mm/mprotect.c')
-rw-r--r-- | mm/mprotect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/mprotect.c b/mm/mprotect.c index 57577f63b305..b426f01c5e9c 100644 --- a/mm/mprotect.c +++ b/mm/mprotect.c | |||
@@ -168,8 +168,8 @@ success: | |||
168 | vma->vm_flags = newflags; | 168 | vma->vm_flags = newflags; |
169 | vma->vm_page_prot = newprot; | 169 | vma->vm_page_prot = newprot; |
170 | change_protection(vma, start, end, newprot); | 170 | change_protection(vma, start, end, newprot); |
171 | __vm_stat_account(mm, oldflags, vma->vm_file, -nrpages); | 171 | vm_stat_account(mm, oldflags, vma->vm_file, -nrpages); |
172 | __vm_stat_account(mm, newflags, vma->vm_file, nrpages); | 172 | vm_stat_account(mm, newflags, vma->vm_file, nrpages); |
173 | return 0; | 173 | return 0; |
174 | 174 | ||
175 | fail: | 175 | fail: |