cifs: Use BUILD_BUG_ON to validate uids and gids are the same size
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 6 Feb 2013 08:10:23 +0000 (00:10 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Feb 2013 15:28:45 +0000 (07:28 -0800)
commit355958f2893d97375da17696d2566dd4ab7b54a8
treec2090cd25d87d8f537ddd65039819e662ec9e522
parent46bbc25f9ff1242cd1c042580aec11ddb5e41369
cifs: Use BUILD_BUG_ON to validate uids and gids are the same size

The assumption that sizeof(uid_t) is the same as sizeof(gid_t) is
completely reasonable but since we can verify the condition at
compile time.

Cc: Steve French <smfrench@gmail.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/cifs/cifsacl.c