Commit 9e9ecc03 authored by Benny Halevy's avatar Benny Halevy

NFS: get rid of unused xdr decode_setattr(, res) argument

Signed-off-by: default avatarAndy Adamson <andros@netapp.com>
Signed-off-by: default avatarBenny Halevy <bhalevy@panasas.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 663c79b3
...@@ -3658,7 +3658,7 @@ decode_savefh(struct xdr_stream *xdr) ...@@ -3658,7 +3658,7 @@ decode_savefh(struct xdr_stream *xdr)
return decode_op_hdr(xdr, OP_SAVEFH); return decode_op_hdr(xdr, OP_SAVEFH);
} }
static int decode_setattr(struct xdr_stream *xdr, struct nfs_setattrres *res) static int decode_setattr(struct xdr_stream *xdr)
{ {
__be32 *p; __be32 *p;
uint32_t bmlen; uint32_t bmlen;
...@@ -4009,7 +4009,7 @@ nfs4_xdr_dec_setacl(struct rpc_rqst *rqstp, __be32 *p, void *res) ...@@ -4009,7 +4009,7 @@ nfs4_xdr_dec_setacl(struct rpc_rqst *rqstp, __be32 *p, void *res)
status = decode_putfh(&xdr); status = decode_putfh(&xdr);
if (status) if (status)
goto out; goto out;
status = decode_setattr(&xdr, res); status = decode_setattr(&xdr);
out: out:
return status; return status;
} }
...@@ -4162,7 +4162,7 @@ static int nfs4_xdr_dec_setattr(struct rpc_rqst *rqstp, __be32 *p, struct nfs_se ...@@ -4162,7 +4162,7 @@ static int nfs4_xdr_dec_setattr(struct rpc_rqst *rqstp, __be32 *p, struct nfs_se
status = decode_putfh(&xdr); status = decode_putfh(&xdr);
if (status) if (status)
goto out; goto out;
status = decode_setattr(&xdr, res); status = decode_setattr(&xdr);
if (status) if (status)
goto out; goto out;
decode_getfattr(&xdr, res->fattr, res->server); decode_getfattr(&xdr, res->fattr, res->server);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment