diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2021-10-13 17:40:59 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2021-10-13 18:34:49 +0300 |
commit | 3b0ebb255fdc49a3d340846deebf045ef58ec744 (patch) | |
tree | 6516f5921001ead9859afc79f4eab8fbb7b61595 /fs/nfsd/xdr4.h | |
parent | c44b31c263798ec34614dd394c31ef1a2e7e716e (diff) | |
download | linux-3b0ebb255fdc49a3d340846deebf045ef58ec744.tar.xz |
NFSD: Save location of NFSv4 COMPOUND status
Refactor: Currently nfs4svc_encode_compoundres() relies on the NFS
dispatcher to pass in the buffer location of the COMPOUND status.
Instead, save that buffer location in struct nfsd4_compoundres.
The compound tag follows immediately after.
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index 8812256cd520..6aeb6755278f 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h @@ -702,10 +702,11 @@ struct nfsd4_compoundres { struct xdr_stream *xdr; struct svc_rqst * rqstp; + __be32 *statusp; u32 taglen; char * tag; u32 opcnt; - __be32 * tagp; /* tag, opcount encode location */ + struct nfsd4_compound_state cstate; }; |