]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/nfs/nfs4xdr.c
SUNRPC: Move the bound cred to struct rpc_rqst
[net-next-2.6.git] / fs / nfs / nfs4xdr.c
index 257c1811feb445bffe0c47909a8ebcb3c2b1d37a..08ef912911324d550285299d112164b11f45689b 100644 (file)
@@ -758,7 +758,7 @@ static void encode_compound_hdr(struct xdr_stream *xdr,
                                struct compound_hdr *hdr)
 {
        __be32 *p;
-       struct rpc_auth *auth = req->rq_task->tk_msg.rpc_cred->cr_auth;
+       struct rpc_auth *auth = req->rq_cred->cr_auth;
 
        /* initialize running count of expected bytes in reply.
         * NOTE: the replied tag SHOULD be the same is the one sent,