diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2011-11-16 23:15:31 -0800 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-04-07 16:55:51 -0700 |
commit | c4a4d603796c727b9555867571f89483be9c565e (patch) | |
tree | ae3b47a7b8b35c866df53cb4b4a051d49a28904a /include/linux/cred.h | |
parent | 7e6bd8fadd1216f50468f965d0308f45e5109ced (diff) | |
download | op-kernel-dev-c4a4d603796c727b9555867571f89483be9c565e.zip op-kernel-dev-c4a4d603796c727b9555867571f89483be9c565e.tar.gz |
userns: Use cred->user_ns instead of cred->user->user_ns
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>
Diffstat (limited to 'include/linux/cred.h')
0 files changed, 0 insertions, 0 deletions