[PATCH] cpuset: unsafe mm reference fix
authorPaul Jackson <pj@sgi.com>
Fri, 31 Mar 2006 10:30:51 +0000 (02:30 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:18:55 +0000 (12:18 -0800)
commit2741a559a01e1ba9bf87285569dc1a104d134ecf
tree8c61321d5fa1a0c3517219eaa3089e223d5cd943
parent4a01c8d5be628ac20cfd432c21808d76be5813e6
[PATCH] cpuset: unsafe mm reference fix

Fix unsafe reference to a tasks mm struct, by moving the reference inside of a
convenient nearby properly guarded code block.

Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/cpuset.c