aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4xdr.c
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@panasas.com>2009-04-01 09:22:00 -0400
committerBenny Halevy <bhalevy@panasas.com>2009-06-17 13:46:26 -0400
commit9e9ecc03d6b37a5d85e16b357751e3b341de0fef (patch)
tree79735a40e0123afe47c5ac380df9a5d5c68bd3d2 /fs/nfs/nfs4xdr.c
parent663c79b3cd8f5fe21fe7d7565fec0072e3234ddc (diff)
NFS: get rid of unused xdr decode_setattr(, res) argument
Signed-off-by: Andy Adamson <andros@netapp.com> 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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index 3e777893e2b0..27dd25d9ad42 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -3658,7 +3658,7 @@ decode_savefh(struct xdr_stream *xdr)
3658 return decode_op_hdr(xdr, OP_SAVEFH); 3658 return decode_op_hdr(xdr, OP_SAVEFH);
3659} 3659}
3660 3660
3661static int decode_setattr(struct xdr_stream *xdr, struct nfs_setattrres *res) 3661static int decode_setattr(struct xdr_stream *xdr)
3662{ 3662{
3663 __be32 *p; 3663 __be32 *p;
3664 uint32_t bmlen; 3664 uint32_t bmlen;
@@ -4009,7 +4009,7 @@ nfs4_xdr_dec_setacl(struct rpc_rqst *rqstp, __be32 *p, void *res)
4009 status = decode_putfh(&xdr); 4009 status = decode_putfh(&xdr);
4010 if (status) 4010 if (status)
4011 goto out; 4011 goto out;
4012 status = decode_setattr(&xdr, res); 4012 status = decode_setattr(&xdr);
4013out: 4013out:
4014 return status; 4014 return status;
4015} 4015}
@@ -4162,7 +4162,7 @@ static int nfs4_xdr_dec_setattr(struct rpc_rqst *rqstp, __be32 *p, struct nfs_se
4162 status = decode_putfh(&xdr); 4162 status = decode_putfh(&xdr);
4163 if (status) 4163 if (status)
4164 goto out; 4164 goto out;
4165 status = decode_setattr(&xdr, res); 4165 status = decode_setattr(&xdr);
4166 if (status) 4166 if (status)
4167 goto out; 4167 goto out;
4168 decode_getfattr(&xdr, res->fattr, res->server); 4168 decode_getfattr(&xdr, res->fattr, res->server);