]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sunrpc: Use uid_eq and gid_eq where appropriate
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 2 Feb 2013 00:39:32 +0000 (16:39 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Feb 2013 14:15:17 +0000 (06:15 -0800)
commit0b4d51b02a2e941beec6f02a6c7a32c5a28c5b43
treed25f90f6dbaf133865f9761b80e8a7324a5888f8
parent7eaf040b720bc8c0ce5cd49151ca194ca2d56842
sunrpc: Use uid_eq and gid_eq where appropriate

When comparing uids use uid_eq instead of ==.
When comparing gids use gid_eq instead of ==.

And unfortunate cost of type safety.

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_generic.c
net/sunrpc/auth_gss/auth_gss.c
net/sunrpc/auth_unix.c
net/sunrpc/svcauth_unix.c