diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-09-12 17:23:25 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-09-26 14:02:48 -0400 |
commit | 6604148cf961b57fc735e4204f8996536da9253c (patch) | |
tree | ca6a12f987f4b46f1520ada1a293f29fc0625ff3 /fs/nfsd/xdr4.h | |
parent | 9993a66317fc9951322483a9edbfae95a640b210 (diff) | |
download | linux-stable-6604148cf961b57fc735e4204f8996536da9253c.tar.gz linux-stable-6604148cf961b57fc735e4204f8996536da9253c.tar.bz2 linux-stable-6604148cf961b57fc735e4204f8996536da9253c.zip |
NFSD: Remove "inline" directives on op_rsize_bop helpers
These helpers are always invoked indirectly, so the compiler can't
inline these anyway. While we're updating the synopses of these
helpers, defensively convert their parameters to const pointers.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r-- | fs/nfsd/xdr4.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index 466e2786fc97..7fcbc7a46c15 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h @@ -889,7 +889,8 @@ struct nfsd4_operation { u32 op_flags; char *op_name; /* Try to get response size before operation */ - u32 (*op_rsize_bop)(struct svc_rqst *, struct nfsd4_op *); + u32 (*op_rsize_bop)(const struct svc_rqst *rqstp, + const struct nfsd4_op *op); void (*op_get_currentstateid)(struct nfsd4_compound_state *, union nfsd4_op_u *); void (*op_set_currentstateid)(struct nfsd4_compound_state *, |