Commit 4feb71cc authored by Neil Brown's avatar Neil Brown Committed by Linus Torvalds

[PATCH] nfsd: nfsd is missing a put_group_info in the auth_null

nfsd is missing a put_group_info in the auth_null case.
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: default avatarNeil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent aecbbdf9
...@@ -405,6 +405,9 @@ svcauth_null_release(struct svc_rqst *rqstp) ...@@ -405,6 +405,9 @@ svcauth_null_release(struct svc_rqst *rqstp)
if (rqstp->rq_client) if (rqstp->rq_client)
auth_domain_put(rqstp->rq_client); auth_domain_put(rqstp->rq_client);
rqstp->rq_client = NULL; rqstp->rq_client = NULL;
if (rqstp->rq_cred.cr_group_info)
put_group_info(rqstp->rq_cred.cr_group_info);
rqstp->rq_cred.cr_group_info = NULL;
return 0; /* don't drop */ return 0; /* don't drop */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment