aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4callback.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2010-05-26 17:46:00 -0400
committerJ. Bruce Fields <bfields@redhat.com>2010-10-01 19:29:43 -0400
commit1c8556026edac60368ceef446f0febc08014ba78 (patch)
treeb87d81088d213d4a8e62e6b76abc4b2ab198acde /fs/nfsd/nfs4callback.c
parent586f36735e1d38c32bbfbb2716461e7178724b15 (diff)
nfsd4: rename nfs4_rpc_args->nfsd4_cb_args
With apologies for the gratuitous rename, the new name seems more helpful to me. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/nfs4callback.c')
-rw-r--r--fs/nfsd/nfs4callback.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c
index 5687fce85641..5508e928fd9f 100644
--- a/fs/nfsd/nfs4callback.c
+++ b/fs/nfsd/nfs4callback.c
@@ -247,7 +247,7 @@ encode_cb_recall(struct xdr_stream *xdr, struct nfs4_delegation *dp,
247} 247}
248 248
249static void 249static void
250encode_cb_sequence(struct xdr_stream *xdr, struct nfs4_rpc_args *args, 250encode_cb_sequence(struct xdr_stream *xdr, struct nfsd4_cb_args *args,
251 struct nfs4_cb_compound_hdr *hdr) 251 struct nfs4_cb_compound_hdr *hdr)
252{ 252{
253 __be32 *p; 253 __be32 *p;
@@ -279,7 +279,7 @@ nfs4_xdr_enc_cb_null(struct rpc_rqst *req, __be32 *p)
279 279
280static int 280static int
281nfs4_xdr_enc_cb_recall(struct rpc_rqst *req, __be32 *p, 281nfs4_xdr_enc_cb_recall(struct rpc_rqst *req, __be32 *p,
282 struct nfs4_rpc_args *rpc_args) 282 struct nfsd4_cb_args *rpc_args)
283{ 283{
284 struct xdr_stream xdr; 284 struct xdr_stream xdr;
285 struct nfs4_delegation *args = rpc_args->args_op; 285 struct nfs4_delegation *args = rpc_args->args_op;
@@ -338,7 +338,7 @@ decode_cb_op_hdr(struct xdr_stream *xdr, enum nfs_opnum4 expected)
338 * with a single slot. 338 * with a single slot.
339 */ 339 */
340static int 340static int
341decode_cb_sequence(struct xdr_stream *xdr, struct nfs4_rpc_args *res, 341decode_cb_sequence(struct xdr_stream *xdr, struct nfsd4_cb_args *res,
342 struct rpc_rqst *rqstp) 342 struct rpc_rqst *rqstp)
343{ 343{
344 struct nfs4_sessionid id; 344 struct nfs4_sessionid id;
@@ -392,7 +392,7 @@ nfs4_xdr_dec_cb_null(struct rpc_rqst *req, __be32 *p)
392 392
393static int 393static int
394nfs4_xdr_dec_cb_recall(struct rpc_rqst *rqstp, __be32 *p, 394nfs4_xdr_dec_cb_recall(struct rpc_rqst *rqstp, __be32 *p,
395 struct nfs4_rpc_args *args) 395 struct nfsd4_cb_args *args)
396{ 396{
397 struct xdr_stream xdr; 397 struct xdr_stream xdr;
398 struct nfs4_cb_compound_hdr hdr; 398 struct nfs4_cb_compound_hdr hdr;
@@ -585,7 +585,7 @@ void nfsd4_probe_callback(struct nfs4_client *clp, struct nfs4_cb_conn *conn)
585static int nfsd41_cb_setup_sequence(struct nfs4_client *clp, 585static int nfsd41_cb_setup_sequence(struct nfs4_client *clp,
586 struct rpc_task *task) 586 struct rpc_task *task)
587{ 587{
588 struct nfs4_rpc_args *args = task->tk_msg.rpc_argp; 588 struct nfsd4_cb_args *args = task->tk_msg.rpc_argp;
589 u32 *ptr = (u32 *)clp->cl_sessionid.data; 589 u32 *ptr = (u32 *)clp->cl_sessionid.data;
590 int status = 0; 590 int status = 0;
591 591
@@ -619,7 +619,7 @@ static void nfsd4_cb_prepare(struct rpc_task *task, void *calldata)
619{ 619{
620 struct nfs4_delegation *dp = calldata; 620 struct nfs4_delegation *dp = calldata;
621 struct nfs4_client *clp = dp->dl_client; 621 struct nfs4_client *clp = dp->dl_client;
622 struct nfs4_rpc_args *args = task->tk_msg.rpc_argp; 622 struct nfsd4_cb_args *args = task->tk_msg.rpc_argp;
623 u32 minorversion = clp->cl_cb_conn.cb_minorversion; 623 u32 minorversion = clp->cl_cb_conn.cb_minorversion;
624 int status = 0; 624 int status = 0;
625 625
@@ -756,7 +756,7 @@ static void _nfsd4_cb_recall(struct nfs4_delegation *dp)
756{ 756{
757 struct nfs4_client *clp = dp->dl_client; 757 struct nfs4_client *clp = dp->dl_client;
758 struct rpc_clnt *clnt = clp->cl_cb_client; 758 struct rpc_clnt *clnt = clp->cl_cb_client;
759 struct nfs4_rpc_args *args = &dp->dl_recall.cb_args; 759 struct nfsd4_cb_args *args = &dp->dl_recall.cb_args;
760 struct rpc_message msg = { 760 struct rpc_message msg = {
761 .rpc_proc = &nfs4_cb_procedures[NFSPROC4_CLNT_CB_RECALL], 761 .rpc_proc = &nfs4_cb_procedures[NFSPROC4_CLNT_CB_RECALL],
762 .rpc_cred = callback_cred 762 .rpc_cred = callback_cred