NFSD: Add nfsd4_encode_fattr4_supported_attrs()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 18 Sep 2023 13:57:32 +0000 (09:57 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:13 +0000 (12:44 -0400)
commitc9090e273300cd30dff05ce870a4c18f476a2f32
tree1f299c75fc78ec5324214f6fcbc323e174173e1d
parent8c4422881f73d77a259352e0e93b7bdaf172768a
NFSD: Add nfsd4_encode_fattr4_supported_attrs()

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