path: root/ipc/namespace.c
diff options
authorPierre Peiffer <>2008-02-08 04:18:56 -0800
committerLinus Torvalds <>2008-02-08 09:22:26 -0800
commit4b9fcb0ec60584d639ad105c42b75a3447071e47 (patch)
treeb68be0c60ca985901cd20c0b8a7321e8be07d328 /ipc/namespace.c
parentb2d75cddc83a349ef5633f609b9734b6b957f90f (diff)
IPC/semaphores: consolidate SEM_STAT and IPC_STAT commands
These commands (SEM_STAT and IPC_STAT) are rather doing the same things (only the meaning of the id given as input and the return value differ). However, for the semaphores, they are handled in two different places (two different functions). This patch consolidates this for clarification by handling these both commands in the same place in semctl_nolock(). It also removes one unused parameter for this function. Signed-off-by: Pierre Peiffer <> Cc: Nadia Derbey <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'ipc/namespace.c')
0 files changed, 0 insertions, 0 deletions