fix logic error in ipc compat semctl()
authorAlexander Graf <agraf@suse.de>
Fri, 6 Jul 2007 09:39:53 +0000 (02:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 6 Jul 2007 17:23:43 +0000 (10:23 -0700)
commitd57d973101e87b2e30ccfa899fe36c4b2e32d217
treec08ddbb512ae9da4c26866515de8f335d7505e35
parent0db19c412ce260a293b06b4bab66550b84411bfc
fix logic error in ipc compat semctl()

When calling a semctl(IPC_STAT) without IPC_64 the check if the memory is
unevaluated.  This patch fixes this.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/compat.c