TOMOYO: Remove redundant tasklist_lock.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Tue, 11 Oct 2011 05:05:08 +0000 (14:05 +0900)
committerJames Morris <jmorris@namei.org>
Wed, 12 Oct 2011 01:15:18 +0000 (12:15 +1100)
commite2b8b25a6795488eba7bb757706b3ac725c31fac
treef77e43a01891938e8c83b56d2c249a725923b9ec
parente00fb3f7af111d1b3252f7d622213d2e22be65f5
TOMOYO: Remove redundant tasklist_lock.

rcu_read_lock() is sufficient for calling find_task_by_pid_ns()/find_task_by_vpid().

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
security/tomoyo/common.c