userns: Deprecate and rename the user_namespace reference in the user_struct
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 17 Nov 2011 07:20:58 +0000 (23:20 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 7 Apr 2012 23:55:54 +0000 (16:55 -0700)
commitd0bd6594e286bd6145e04e19e8d3fa2e902cb800
treeec512935f5cf2b4ae95927a47e96ad716159fb04
parent6f9ac6d93a0916de09d11b0a247ade8f4347728b
userns: Deprecate and rename the user_namespace reference in the user_struct

With a user_ns reference in struct cred the only user of the user namespace
reference in struct user_struct is to keep the uid hash table alive.

The user_namespace reference in struct user_struct will be going away soon, and
I have removed all of the references.  Rename the field from user_ns to _user_ns
so that the compiler can verify nothing follows the user struct to the user
namespace anymore.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
include/linux/sched.h
kernel/user.c