diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-10-02 00:59:12 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2020-10-02 15:37:41 +0200 |
commit | dcc46991d3c5b30a3944578511f9a51a71cc0078 (patch) | |
tree | 07b8c2b0baddc78ef9bdf4e5e0a9c7e6ba599923 /fs/nfsd/xdr4.h | |
parent | NFSACL: Replace PROC() macro with open code (diff) | |
download | linux-dcc46991d3c5b30a3944578511f9a51a71cc0078.tar.xz linux-dcc46991d3c5b30a3944578511f9a51a71cc0078.zip |
NFSD: Encoder and decoder functions are always present
nfsd_dispatch() is a hot path. Let's optimize the XDR method calls
for the by-far common case, which is that the XDR methods are indeed
present.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r-- | fs/nfsd/xdr4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index 66499fb6b567..679d40af1bbb 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h @@ -781,6 +781,7 @@ set_change_info(struct nfsd4_change_info *cinfo, struct svc_fh *fhp) bool nfsd4_mach_creds_match(struct nfs4_client *cl, struct svc_rqst *rqstp); +int nfs4svc_decode_voidarg(struct svc_rqst *, __be32 *); int nfs4svc_encode_voidres(struct svc_rqst *, __be32 *); int nfs4svc_decode_compoundargs(struct svc_rqst *, __be32 *); int nfs4svc_encode_compoundres(struct svc_rqst *, __be32 *); |