From: Nadia Derbey Date: Fri, 19 Oct 2007 06:40:51 +0000 (-0700) Subject: Storing ipcs into IDRs X-Git-Tag: v2.6.24-rc1~167 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f02c7657f7948ab980280c54c9366f962b1474;p=pandora-kernel.git Storing ipcs into IDRs This patch converts casts of struct kern_ipc_perm to . struct msg_queue . struct sem_array . struct shmid_kernel into the equivalent container_of() macro. It improves code maintenance because the code need not change if kern_ipc_perm is no longer at the beginning of the containing struct. Signed-off-by: Nadia Derbey Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed