summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/xdr4.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2017-05-05 23:09:37 +0200
committerJ. Bruce Fields <bfields@redhat.com>2017-08-25 04:12:48 +0200
commit34b1744c91ccd44811005822106945fa80ecbff2 (patch)
treebcfe6172004c09e2b0a5966fb6bb66855169bb32 /fs/nfsd/xdr4.h
parentnfsd4: opdesc will be useful outside nfs4proc.c (diff)
downloadlinux-34b1744c91ccd44811005822106945fa80ecbff2.tar.xz
linux-34b1744c91ccd44811005822106945fa80ecbff2.zip
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 */