projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: (adt7470) Fix incorrect return code check
[firefly-linux-kernel-4.4.55.git]
/
mm
/
mmap.c
diff --git
a/mm/mmap.c
b/mm/mmap.c
index f681e1842fadc1ccd8d7188a7ca1688c73548111..7dbe39745be9e86b05d51b6372a609ec268c6330 100644
(file)
--- a/
mm/mmap.c
+++ b/
mm/mmap.c
@@
-865,7
+865,7
@@
again: remove_next = 1 + (end > next->vm_end);
if (next->anon_vma)
anon_vma_merge(vma, next);
mm->map_count--;
-
vma_set_policy(vma,
vma_policy(next));
+
mpol_put(
vma_policy(next));
kmem_cache_free(vm_area_cachep, next);
/*
* In mprotect's case 6 (see comments on vma_merge),