NFSD: Add struct nfsd4_fattr_args
authorChuck Lever <chuck.lever@oracle.com>
Mon, 18 Sep 2023 13:57:13 +0000 (09:57 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:12 +0000 (12:44 -0400)
commit83ab8678ad0c6f27594c716cafe59c8bbd5e49ef
treeb1507cb59605e6ac0123377c7cdfb4154d4a3076
parentc3dcb45bcd071ae86821bfff428cd3b1ac38e6f0
NFSD: Add struct nfsd4_fattr_args

I'm about to split nfsd4_encode_fattr() into a number of smaller
functions. Instead of passing a large number of arguments to each of
the smaller functions, create a struct that can gather the common
argument variables into something with a convenient handle on it.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4xdr.c