]> git.baikalelectronics.ru Git - kernel.git/commit
get rid of magic in proc_namespace.c
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 Jun 2012 05:16:59 +0000 (01:16 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Jul 2012 12:32:48 +0000 (16:32 +0400)
commit3f93fbf45990b884e649786a944a2c60b6b3ad90
treeb66a74dd7aef822b4bc573ab283e21320bcc0b25
parent89715c7aeaa89a7287a3e03588f264c2fe88295c
get rid of magic in proc_namespace.c

don't rely on proc_mounts->m being the first field; container_of()
is there for purpose.  No need to bother with ->private, while
we are at it - the same container_of will do nicely.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/mount.h
fs/namespace.c
fs/proc_namespace.c