summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/xdr4.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2017-07-06 17:51:29 -0400
committerJ. Bruce Fields <bfields@redhat.com>2017-08-24 21:12:20 -0400
commitf4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 (patch)
tree1f52ae97829e434eae88af200b524b74f7b9ecdc /fs/nfsd/xdr4.h
parent0020939f20ce2881e51488e254fbb7a9b6c515f6 (diff)
downloadop-kernel-dev-f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8.zip
op-kernel-dev-f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8.tar.gz
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h
index fcdfe1c..90b9280 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);
OpenPOWER on IntegriCloud