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)
commit6ce6e24e72233073c8ead9419fc5040d44803dae
treeb66a74dd7aef822b4bc573ab283e21320bcc0b25
parentf7a99c5b7c8bd3d3f533c8b38274e33f3da9096e
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