diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/svcauth_unix.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c index 06bdf5a1082c..1583c8a4eb7f 100644 --- a/net/sunrpc/svcauth_unix.c +++ b/net/sunrpc/svcauth_unix.c | |||
@@ -493,8 +493,6 @@ static int unix_gid_parse(struct cache_detail *cd, | |||
493 | if (rv) | 493 | if (rv) |
494 | return -EINVAL; | 494 | return -EINVAL; |
495 | uid = make_kuid(&init_user_ns, id); | 495 | uid = make_kuid(&init_user_ns, id); |
496 | if (!uid_valid(uid)) | ||
497 | return -EINVAL; | ||
498 | ug.uid = uid; | 496 | ug.uid = uid; |
499 | 497 | ||
500 | expiry = get_expiry(&mesg); | 498 | expiry = get_expiry(&mesg); |