TOMOYO: Replace rw_semaphore by mutex.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Sun, 3 Jan 2010 12:16:32 +0000 (21:16 +0900)
committerJames Morris <jmorris@namei.org>
Sun, 10 Jan 2010 20:57:44 +0000 (07:57 +1100)
commitf737d95ddfea4df68a36ffc9231db4bf34b06d13
tree28a1bf737c96ba8048abcf87a7acfc8412e92a2e
parentfdb8ebb729bbb640e64028a4f579a02ebc405727
TOMOYO: Replace rw_semaphore by mutex.

Since readers no longer use down_read(), writers no longer
need to use rw_semaphore. Replace individual rw_semaphore by
single mutex.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/tomoyo/common.c
security/tomoyo/common.h
security/tomoyo/domain.c
security/tomoyo/file.c