From: Eric W. Biederman Date: Sun, 4 Mar 2012 02:58:11 +0000 (-0800) Subject: userns: Remove unnecessary cast to struct user_struct when copying cred->user. X-Git-Tag: v3.5-rc1~107^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74ba508f60c3650595297b33a4cdfd02e443194e;p=pandora-kernel.git 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 Signed-off-by: Eric W. Biederman --- Reading git-diff-tree failed