projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: replace vma->vm_flags direct modifications with modifier calls
[linux-block.git]
/
fs
/
proc
/
task_mmu.c
diff --git
a/fs/proc/task_mmu.c
b/fs/proc/task_mmu.c
index a944e1816364dd8ba9e0ceccfebed1fc1f262414..6a96e1713fd588af12fb1a94d7af57d53d0cb322 100644
(file)
--- a/
fs/proc/task_mmu.c
+++ b/
fs/proc/task_mmu.c
@@
-1299,7
+1299,7
@@
static ssize_t clear_refs_write(struct file *file, const char __user *buf,
for_each_vma(vmi, vma) {
if (!(vma->vm_flags & VM_SOFTDIRTY))
continue;
- vm
a->vm_flags &= ~VM_SOFTDIRTY
;
+ vm
_flags_clear(vma, VM_SOFTDIRTY)
;
vma_set_page_prot(vma);
}