commit | 50a876bcea6aeced0e268ab233127e6528205c75 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Jun 09 01:16:59 2012 -0400 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Jul 22 21:50:23 2018 +0200 |
tree | aaf7d62a9207c159b61069c0e0eab7b240930e14 | |
parent | d9eb504ccaf0bf18271b542665a76c263d5084e4 [diff] |
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> (cherry picked from commit 6ce6e24e72233073c8ead9419fc5040d44803dae) Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org> Change-Id: I1ad6bc2de94a6b2efa110c5ebb76615fb67ef3d1