sunrpc: Use userns friendly constants.
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 1 Feb 2013 23:55:38 +0000 (15:55 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Feb 2013 14:15:15 +0000 (06:15 -0800)
commitbf37f794372d5b8fda66702e1f3e70d4f07b6533
treed6e5478c2b9d3dad865071f8ab7f617dac5d876f
parentddca4e1730cf1b72044ae76ddf17b29d790b4dbc
sunrpc: Use userns friendly constants.

Instead of (uid_t)0 use GLOBAL_ROOT_UID.
Instead of (gid_t)0 use GLOBAL_ROOT_GID.
Instead of (uid_t)-1 use INVALID_UID
Instead of (gid_t)-1 use INVALID_GID.
Instead of NOGROUP use INVALID_GID.

Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
net/sunrpc/auth.c
net/sunrpc/auth_generic.c
net/sunrpc/auth_unix.c
net/sunrpc/svcauth_unix.c