diff options
author | J. Bruce Fields <bfields@redhat.com> | 2017-07-06 17:51:29 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2017-08-24 21:12:20 -0400 |
commit | f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 (patch) | |
tree | 1f52ae97829e434eae88af200b524b74f7b9ecdc /fs/nfsd/xdr4.h | |
parent | 0020939f20ce2881e51488e254fbb7a9b6c515f6 (diff) | |
download | linux-f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8.tar.bz2 |
nfsd4: opdesc will be useful outside nfs4proc.c
Trivial cleanup, no change in behavior.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r-- | fs/nfsd/xdr4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index fcdfe1c3ff4f..90b928006bc7 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h @@ -538,6 +538,7 @@ struct nfsd4_seek { struct nfsd4_op { int opnum; + const struct nfsd4_operation * opdesc; __be32 status; union nfsd4_op_u { struct nfsd4_access access; @@ -661,6 +662,7 @@ static inline bool nfsd4_last_compound_op(struct svc_rqst *rqstp) return argp->opcnt == resp->opcnt; } +const struct nfsd4_operation *OPDESC(struct nfsd4_op *op); int nfsd4_max_reply(struct svc_rqst *rqstp, struct nfsd4_op *op); void warn_on_nonidempotent_op(struct nfsd4_op *op); |