userns: Use cred->user_ns instead of cred->user->user_ns
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 17 Nov 2011 07:15:31 +0000 (23:15 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 7 Apr 2012 23:55:51 +0000 (16:55 -0700)
Optimize performance and prepare for the removal of the user_ns reference
from user_struct.  Remove the slow long walk through cred->user->user_ns and
instead go straight to cred->user_ns.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>

No differences found