mm: use mm_struct to resolve gate vma's in __get_user_pages
authorStephen Wilson <wilsons@start.ca>
Sun, 13 Mar 2011 19:49:18 +0000 (15:49 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 23 Mar 2011 20:36:56 +0000 (16:36 -0400)
We now check if a requested user page overlaps a gate vma using the supplied mm
instead of the supplied task.  The given task is now used solely for accounting
purposes and may be NULL.

Signed-off-by: Stephen Wilson <wilsons@start.ca>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

No differences found