summaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback_xdr.c
diff options
context:
space:
mode:
authorRicardo Labiaga2009-04-01 15:23:30 +0200
committerBenny Halevy2009-06-17 23:11:40 +0200
commit65fc64e547c794764a441e16e95bb76c0e256bd7 (patch)
treefef3f27b7f8559026bd9dcb2d3c02dd4816fdb43 /fs/nfs/callback_xdr.c
parentnfs41: Rename rq_received to rq_reply_bytes_recvd (diff)
downloadkernel-qcow2-linux-65fc64e547c794764a441e16e95bb76c0e256bd7.tar.gz
kernel-qcow2-linux-65fc64e547c794764a441e16e95bb76c0e256bd7.tar.xz
kernel-qcow2-linux-65fc64e547c794764a441e16e95bb76c0e256bd7.zip
nfs41: Backchannel: update cb_sequence args and results
Change the type of cs_addr and csr_status to 'struct sockaddr' and '__be32' since the cb_sequence processing function will use existing functionality that expects these types. Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Diffstat (limited to 'fs/nfs/callback_xdr.c')
-rw-r--r--fs/nfs/callback_xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/callback_xdr.c b/fs/nfs/callback_xdr.c
index 537f21da6e5f..e5a2dac5f715 100644
--- a/fs/nfs/callback_xdr.c
+++ b/fs/nfs/callback_xdr.c
@@ -283,7 +283,7 @@ static unsigned decode_cb_sequence_args(struct svc_rqst *rqstp,
if (unlikely(p == NULL))
goto out;
- args->csa_addr = svc_addr_in(rqstp);
+ args->csa_addr = svc_addr(rqstp);
args->csa_sequenceid = ntohl(*p++);
args->csa_slotid = ntohl(*p++);
args->csa_highestslotid = ntohl(*p++);