NFSD: Add nfsd4_encode_fattr4_space_used()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 18 Sep 2023 14:00:43 +0000 (10:00 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:22 +0000 (12:44 -0400)
commit6d37ac3adb310dabe78e5ff0289f4bfeceda2114
tree5ce458aec4d6729487bd348cafd5684209fe9558
parentd0cde979e912706ab331b9d2ad31f311a9f35f80
NFSD: Add nfsd4_encode_fattr4_space_used()

Refactor the encoder for FATTR4_SPACE_USED 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