NFSD: Move copy offload callback arguments into a separate structure
authorChuck Lever <chuck.lever@oracle.com>
Wed, 27 Jul 2022 18:41:18 +0000 (14:41 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 30 Jul 2022 00:17:00 +0000 (20:17 -0400)
commita11ada99ce93a79393dc6683d22f7915748c8f6b
treee7dd52ee1ae000179701e9658c655889eaeac370
parente72f9bc006c08841c46d27747a4debc747a8fe13
NFSD: Move copy offload callback arguments into a separate structure

Refactor so that CB_OFFLOAD arguments can be passed without
allocating a whole struct nfsd4_copy object. On my system (x86_64)
this removes another 96 bytes from struct nfsd4_copy.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4callback.c
fs/nfsd/nfs4proc.c
fs/nfsd/xdr4.h