]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit54123cdc0de948671b526943038ef5a48d4774a6
treedfeb9071f534aa076ed302b8ee5e8f3d988712de
parent2c4714c689ea69e4744d4827d743ffd1619fc9bb
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