ipcns: remove useless get/put while CLONE_NEWIPC
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 17 Jun 2009 23:27:54 +0000 (16:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2009 20:03:55 +0000 (13:03 -0700)
commit64424289dd2e37b4800df1f7f2ef4fe550f58729
tree15e33fc3c1e46e423b964998785ba45927e1d83b
parent4c2a7e72d5937c6a112141c7ff3df0727b3cf3df
ipcns: remove useless get/put while CLONE_NEWIPC

copy_ipcs() doesn't actually copy anything. If new ipcns is created, it's
created from scratch, in this case get/put on old ipcns isn't needed.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/namespace.c