diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-06-17 16:27:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 13:03:55 -0700 |
commit | 64424289dd2e37b4800df1f7f2ef4fe550f58729 (patch) | |
tree | 15e33fc3c1e46e423b964998785ba45927e1d83b /ipc/shm.c | |
parent | 4c2a7e72d5937c6a112141c7ff3df0727b3cf3df (diff) |
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>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions