NFSD: Add nfsd4_encode_fattr4_maxlink()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 18 Sep 2023 13:59:27 +0000 (09:59 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:18 +0000 (12:44 -0400)
commitb066aa5ca3c8c5df9194cde8a07e896a96218426
treed1b5745907d72d3eca61aad837181be76b9221d3
parent7c605dccc551130975021a9b603b1766bf36d00e
NFSD: Add nfsd4_encode_fattr4_maxlink()

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