]> 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)
commitba6054d7bc34238a454540262e6b77c6bae111aa
treeb66a74dd7aef822b4bc573ab283e21320bcc0b25
parent871916328f9e6adf1d59db5844729c1296b32f52
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