diff --git a/fs/nfsd/auth.c b/fs/nfsd/auth.c index b860d3484cd75157c8a652e23047f79fb18f8ba9..5573508f707fa5cd652da4503049fa6e89c0f9f8 100644 --- a/fs/nfsd/auth.c +++ b/fs/nfsd/auth.c @@ -87,6 +87,7 @@ int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp) new->cap_effective = cap_raise_nfsd_set(new->cap_effective, new->cap_permitted); put_cred(override_creds(new)); + put_cred(new); return 0; oom: