NFSD: Add nfsd4_encode_fattr4_time_metadata()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 18 Sep 2023 14:01:09 +0000 (10:01 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:23 +0000 (12:44 -0400)
commit673720bc84bc9513a0488b7a3633a7c38a526ee5
treec5c344eeba45d0feea8efb9c276f16d780038a51
parent993474e8a60f01010f19ac008078c78ef25a84e7
NFSD: Add nfsd4_encode_fattr4_time_metadata()

Refactor the encoder for FATTR4_TIME_METADATA into a helper. In a
subsequent patch, this helper will be called from a bitmask loop.

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