aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4xdr.c
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@panasas.com>2009-04-01 09:21:59 -0400
committerBenny Halevy <bhalevy@panasas.com>2009-06-17 13:46:25 -0400
commit663c79b3cd8f5fe21fe7d7565fec0072e3234ddc (patch)
tree343fa6b9ae1616d06154cbee88a2278c70e3ded6 /fs/nfs/nfs4xdr.c
parentd45b2989a7956ae9e71d584ceac942278c0371c7 (diff)
nfs41: use nfs4_getaclres
In preparation for nfs41 sequence processing. Signed-off-by: Andy Admason <andros@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com> [nfs41: embed resp_len in nfs_getaclres] Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
-rw-r--r--fs/nfs/nfs4xdr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index a77ee3dd0b3d..3e777893e2b0 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -4018,7 +4018,8 @@ out:
4018 * Decode GETACL response 4018 * Decode GETACL response
4019 */ 4019 */
4020static int 4020static int
4021nfs4_xdr_dec_getacl(struct rpc_rqst *rqstp, __be32 *p, size_t *acl_len) 4021nfs4_xdr_dec_getacl(struct rpc_rqst *rqstp, __be32 *p,
4022 struct nfs_getaclres *res)
4022{ 4023{
4023 struct xdr_stream xdr; 4024 struct xdr_stream xdr;
4024 struct compound_hdr hdr; 4025 struct compound_hdr hdr;
@@ -4031,7 +4032,7 @@ nfs4_xdr_dec_getacl(struct rpc_rqst *rqstp, __be32 *p, size_t *acl_len)
4031 status = decode_putfh(&xdr); 4032 status = decode_putfh(&xdr);
4032 if (status) 4033 if (status)
4033 goto out; 4034 goto out;
4034 status = decode_getacl(&xdr, rqstp, acl_len); 4035 status = decode_getacl(&xdr, rqstp, &res->acl_len);
4035 4036
4036out: 4037out:
4037 return status; 4038 return status;