summaryrefslogtreecommitdiff
path: root/fs/nfsd/xdr4.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2017-05-06 00:09:37 +0300
committerJ. Bruce Fields <bfields@redhat.com>2017-08-25 05:12:48 +0300
commit34b1744c91ccd44811005822106945fa80ecbff2 (patch)
treebcfe6172004c09e2b0a5966fb6bb66855169bb32 /fs/nfsd/xdr4.h
parentf4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 (diff)
downloadlinux-34b1744c91ccd44811005822106945fa80ecbff2.tar.xz
nfsd4: define ->op_release for compound ops
Run a separate ->op_release function if necessary instead of depending on the xdr encoder to do this. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r--fs/nfsd/xdr4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h
index 90b928006bc7..1e6274e0e066 100644
--- a/fs/nfsd/xdr4.h
+++ b/fs/nfsd/xdr4.h
@@ -783,6 +783,7 @@ enum nfsd4_op_flags {
struct nfsd4_operation {
__be32 (*op_func)(struct svc_rqst *, struct nfsd4_compound_state *,
union nfsd4_op_u *);
+ void (*op_release)(union nfsd4_op_u *);
u32 op_flags;
char *op_name;
/* Try to get response size before operation */