From: David Howells Date: Thu, 13 Nov 2008 23:39:25 +0000 (+1100) Subject: CRED: Use creds in file structs X-Git-Tag: v2.6.29-rc1~588^2^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d76b0d9b2d87cfc95686e148767cbf7d0e22bdc0;p=pandora-kernel.git CRED: Use creds in file structs Attach creds to file structs and discard f_uid/f_gid. file_operations::open() methods (such as hppfs_open()) should use file->f_cred rather than current_cred(). At the moment file->f_cred will be current_cred() at this point. Signed-off-by: David Howells Reviewed-by: James Morris Signed-off-by: James Morris --- Reading git-diff-tree failed