]> 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)
commitcb00c1bda1434f038e86f0e37590e88bddbd4dbc
treedfeb9071f534aa076ed302b8ee5e8f3d988712de
parent7017282c0fa142208588a6eac0f475e39af2c576
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