NFSD: Save location of NFSv4 COMPOUND status
authorChuck Lever <chuck.lever@oracle.com>
Wed, 13 Oct 2021 14:40:59 +0000 (10:40 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 13 Oct 2021 15:34:49 +0000 (11:34 -0400)
commit3b0ebb255fdc49a3d340846deebf045ef58ec744
tree6516f5921001ead9859afc79f4eab8fbb7b61595
parentc44b31c263798ec34614dd394c31ef1a2e7e716e
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>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4xdr.c
fs/nfsd/xdr4.h