• Al Viro's avatar
    get rid of magic in proc_namespace.c · ba25d8cb
    Al Viro authored
    
    
    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: default avatarAl Viro <viro@zeniv.linux.org.uk>
    (cherry picked from commit 6ce6e24e72233073c8ead9419fc5040d44803dae)
    ba25d8cb
proc_namespace.c 7.55 KB