shm: fix wrong tests
commit33a30ed4bdccd95ed84a1a20c1fef8ac89788ce5
authorVasiliy Kulikov <segoon@openwall.com>
Wed, 3 Aug 2011 18:26:55 +0000 (3 22:26 +0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 Aug 2011 00:45:55 +0000 (3 14:45 -1000)
treeaa57f9f5b958cf90ab548fc4535b9fb750489829
parent206506ccf04b6790d11553a0c8595d1bf65790fe
shm: fix wrong tests

Commit 4c677e2eefdb ("shm: optimize locking and ipc_namespace getting")
introduced a copy-paste bug.  Due to the bug cycle optimizations were
disabled.

Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/shm.c