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]
/
mm
/
madvise.c
diff --git
a/mm/madvise.c
b/mm/madvise.c
index ca672e37b38c1cac417c7b4886e62cce174f9d53..5a5a687d03c24d79ab5ba3ce6c639b6ba8a1d999 100644
(file)
--- a/
mm/madvise.c
+++ b/
mm/madvise.c
@@
-176,7
+176,7
@@
success:
/*
* vm_flags is protected by the mmap_lock held in write mode.
*/
- vm
a->vm_flags = new_flags
;
+ vm
_flags_reset(vma, new_flags)
;
if (!vma->vm_file || vma_is_anon_shmem(vma)) {
error = replace_anon_vma_name(vma, anon_name);
if (error)