cifs: Override unmappable incoming uids and gids
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 6 Feb 2013 07:55:44 +0000 (23:55 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Feb 2013 15:28:36 +0000 (07:28 -0800)
commit46bbc25f9ff1242cd1c042580aec11ddb5e41369
treedfeb9071f534aa076ed302b8ee5e8f3d988712de
parentc9617a44b39d75b2098283d56355d02d4d5bee8b
cifs: Override unmappable incoming uids and gids

The cifs protocol has a 64bit space for uids and gids, while linux
only supports a 32bit space today.  Instead of silently truncating
64bit cifs ids, replace cifs ids that do not fit in the 32bit linux
id space with the default uid and gids for the cifs mount.

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