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)
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

diff --cc fs/mount.h
Simple merge
diff --cc fs/namespace.c
Simple merge
Simple merge