Commit 1bbe60ff authored by Trond Myklebust's avatar Trond Myklebust Committed by Anna Schumaker

NFSv4: Remove bogus "struct nfs_client" argument from decode_ace()

We shouldn't need to force callers to carry an unused argument.
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 5a1f6d9e
...@@ -3127,7 +3127,7 @@ static int decode_op_hdr(struct xdr_stream *xdr, enum nfs_opnum4 expected) ...@@ -3127,7 +3127,7 @@ static int decode_op_hdr(struct xdr_stream *xdr, enum nfs_opnum4 expected)
} }
/* Dummy routine */ /* Dummy routine */
static int decode_ace(struct xdr_stream *xdr, void *ace, struct nfs_client *clp) static int decode_ace(struct xdr_stream *xdr, void *ace)
{ {
__be32 *p; __be32 *p;
unsigned int strlen; unsigned int strlen;
...@@ -5075,7 +5075,7 @@ static int decode_rw_delegation(struct xdr_stream *xdr, ...@@ -5075,7 +5075,7 @@ static int decode_rw_delegation(struct xdr_stream *xdr,
if (decode_space_limit(xdr, &res->pagemod_limit) < 0) if (decode_space_limit(xdr, &res->pagemod_limit) < 0)
return -EIO; return -EIO;
} }
return decode_ace(xdr, NULL, res->server->nfs_client); return decode_ace(xdr, NULL);
out_overflow: out_overflow:
print_overflow_msg(__func__, xdr); print_overflow_msg(__func__, xdr);
return -EIO; return -EIO;
......
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