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>
Showing
- net/sunrpc/auth_generic.c 4 additions, 4 deletionsnet/sunrpc/auth_generic.c
- net/sunrpc/auth_gss/auth_gss.c 2 additions, 2 deletionsnet/sunrpc/auth_gss/auth_gss.c
- net/sunrpc/auth_unix.c 1 addition, 1 deletionnet/sunrpc/auth_unix.c
- net/sunrpc/svcauth_unix.c 1 addition, 1 deletionnet/sunrpc/svcauth_unix.c
Please register or sign in to comment