summaryrefslogtreecommitdiff
path: root/include/linux/cred.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-03-04 06:58:11 +0400
committerEric W. Biederman <ebiederm@xmission.com>2012-04-08 03:55:05 +0400
commit74ba508f60c3650595297b33a4cdfd02e443194e (patch)
tree6acd9ed909b3ebf4f53c05e7336e41e8082d4f6a /include/linux/cred.h
parent39fda8db80c9da028bc78ef444a51ea56f3cf0ad (diff)
downloadlinux-74ba508f60c3650595297b33a4cdfd02e443194e.tar.xz
userns: Remove unnecessary cast to struct user_struct when copying cred->user.
In struct cred the user member is and has always been declared struct user_struct *user. At most a constant struct cred will have a constant pointer to non-constant user_struct so remove this unnecessary cast. 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