mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
03f02c7657
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 <Nadia.Derbey@bull.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
compat_mq.c | ||
compat.c | ||
ipc_sysctl.c | ||
Makefile | ||
mqueue.c | ||
msg.c | ||
msgutil.c | ||
sem.c | ||
shm.c | ||
util.c | ||
util.h |