commit | 7d8da0962eaee30b4a380ded177349bfbdd6ac46 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Wed Apr 30 00:54:27 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Apr 30 08:29:49 2008 -0700 |
tree | cfbdb6d94922264e7e06892275f1e4d5a29017a6 | |
parent | 83beaf3c6c75b36b7c9be7f555c8cf7797842cc5 [diff] |
pids: __set_special_pids: use change_pid() helper Use change_pid() instead of detach_pid() + attach_pid() in __set_special_pids(). This way task_session() is not NULL in between. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Pavel Emelyanov <xemul@openvz.org> Cc: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>