NFSD: Add nfsd4_encode_fattr4_space_avail()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 18 Sep 2023 14:00:24 +0000 (10:00 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:21 +0000 (12:44 -0400)
commit83afa091795fffaa6d6322b87dc7d33d445cc1b2
tree943e417302201552404a37c9863d4268425f6b21
parenta460cda28e9b3709794932a0158d7ded57a32136
NFSD: Add nfsd4_encode_fattr4_space_avail()

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