From: Eric W. Biederman Date: Wed, 6 Feb 2013 08:33:17 +0000 (-0800) Subject: cifs: Use kuids and kgids SID to uid/gid mapping X-Git-Tag: v3.9-rc1~85^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8abf2775dd425ec3c767ea7c5a51b45fc8be76c2;p=pandora-kernel.git cifs: Use kuids and kgids SID to uid/gid mapping Update id_mode_to_cifs_acl to take a kuid_t and a kgid_t. Replace NO_CHANGE_32 with INVALID_UID and INVALID_GID, and tests for NO_CHANGE_32 with uid_valid and gid_valid. Carefully unpack the value returned from request_key. memcpy the value into the expected type. The convert the uid/gid into a kuid/kgid. And then only if the result is a valid kuid or kgid update fuid/fgid. Cc: Steve French Signed-off-by: "Eric W. Biederman" --- Reading git-diff-tree failed