sys_getsid: don't use ->nsproxy directly
authorOleg Nesterov <oleg@tv-sign.ru>
Fri, 8 Feb 2008 12:19:15 +0000 (04:19 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:28 +0000 (09:22 -0800)
commitac9a8e3f0f43d20fc316162e8e5f9186d295ff49
treea6b8d416c38d222773a46c5d84b3d043facbf008
parent44c4e1b2581f7273ab14ef30b6430618801c57b1
sys_getsid: don't use ->nsproxy directly

With the new semantics of find_vpid() we don't need to play with ->nsproxy
explicitely, _vxx() do the right things.

Also s/tasklist/rcu/.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sys.c