mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-17 12:34:01 +00:00
[PATCH] mlock cleanup
mm is defined as vma->vm_mm, so use that. Acked-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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…
Add table
Reference in a new issue