diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-02-19 16:08:30 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-02-21 16:56:16 -0500 |
commit | 1bbe60ff49becd7554e9b32b5e8e6fcee4b33db2 (patch) | |
tree | 7095df9ecedf0c2d5a86b2c72780779f89459bc1 /fs/nfs/nfs4xdr.c | |
parent | 5a1f6d9e9b803003271b40b67786ff46fa4eda01 (diff) |
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: Trond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
-rw-r--r-- | fs/nfs/nfs4xdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c index 26808fbaacb0..ec0d76712e43 100644 --- a/fs/nfs/nfs4xdr.c +++ b/fs/nfs/nfs4xdr.c | |||
@@ -3127,7 +3127,7 @@ static int decode_op_hdr(struct xdr_stream *xdr, enum nfs_opnum4 expected) | |||
3127 | } | 3127 | } |
3128 | 3128 | ||
3129 | /* Dummy routine */ | 3129 | /* Dummy routine */ |
3130 | static int decode_ace(struct xdr_stream *xdr, void *ace, struct nfs_client *clp) | 3130 | static int decode_ace(struct xdr_stream *xdr, void *ace) |
3131 | { | 3131 | { |
3132 | __be32 *p; | 3132 | __be32 *p; |
3133 | unsigned int strlen; | 3133 | unsigned int strlen; |
@@ -5075,7 +5075,7 @@ static int decode_rw_delegation(struct xdr_stream *xdr, | |||
5075 | if (decode_space_limit(xdr, &res->pagemod_limit) < 0) | 5075 | if (decode_space_limit(xdr, &res->pagemod_limit) < 0) |
5076 | return -EIO; | 5076 | return -EIO; |
5077 | } | 5077 | } |
5078 | return decode_ace(xdr, NULL, res->server->nfs_client); | 5078 | return decode_ace(xdr, NULL); |
5079 | out_overflow: | 5079 | out_overflow: |
5080 | print_overflow_msg(__func__, xdr); | 5080 | print_overflow_msg(__func__, xdr); |
5081 | return -EIO; | 5081 | return -EIO; |