vfs: Don't create inodes with a uid or gid unknown to the vfs
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 1 Jul 2016 17:52:06 +0000 (12:52 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 5 Jul 2016 20:11:47 +0000 (15:11 -0500)
commit036d523641c66bef713042894a17f4335f199e49
treee1d0b786d6da437c10245cd9665b1d3b6b6e246c
parent0bd23d09b874e53bd1a2fe2296030aa2720d7b08
vfs: Don't create inodes with a uid or gid unknown to the vfs

It is expected that filesystems can not represent uids and gids from
outside of their user namespace.  Keep things simple by not even
trying to create filesystem nodes with non-sense uids and gids.

Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/namei.c