nfsd4: move principal name into svc_cred
[linux-2.6-block.git] / fs / nfs / callback.c
index cff39406f965d0c36fb7b2982f2626b370477dcf..970659daa323865a113d25075d461c50c7f7dc7c 100644 (file)
@@ -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;