diff options
author | J. Bruce Fields <bfields@redhat.com> | 2012-05-15 01:55:22 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-06-01 02:29:55 +0200 |
commit | 03a4e1f6ddf25f48848e1bddcffc0ad489648331 (patch) | |
tree | f140e3deb767d092eca997037ebb7b098d8afce9 /fs/nfs/callback.c | |
parent | nfsd4: allow removing clients not holding state (diff) | |
download | linux-03a4e1f6ddf25f48848e1bddcffc0ad489648331.tar.xz linux-03a4e1f6ddf25f48848e1bddcffc0ad489648331.zip |
nfsd4: move principal name into svc_cred
Instead of keeping the principal name associated with a request in a
structure that's private to auth_gss and using an accessor function,
move it to svc_cred.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfs/callback.c')
-rw-r--r-- | fs/nfs/callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c index cff39406f965..970659daa323 100644 --- a/fs/nfs/callback.c +++ b/fs/nfs/callback.c @@ -343,7 +343,7 @@ void nfs_callback_down(int minorversion) int check_gss_callback_principal(struct nfs_client *clp, struct svc_rqst *rqstp) { - char *p = svc_gss_principal(rqstp); + char *p = rqstp->rq_cred.cr_principal; if (rqstp->rq_authop->flavour != RPC_AUTH_GSS) return 1; |