mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] mlock cleanup
mm is defined as vma->vm_mm, so use that. Acked-by: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
8fb4fc68ca
commit
a3eea484f7
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ success:
|
|||
ret = make_pages_present(start, end);
|
||||
}
|
||||
|
||||
vma->vm_mm->locked_vm -= pages;
|
||||
mm->locked_vm -= pages;
|
||||
out:
|
||||
if (ret == -ENOMEM)
|
||||
ret = -EAGAIN;
|
||||
|
|
|
|||
Loading…
Reference in a new issue