NFSD: Add nfsd4_encode_fattr4_suppattr_exclcreat()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 18 Sep 2023 14:01:47 +0000 (10:01 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:25 +0000 (12:44 -0400)
commit345c3877d27d6f69d7236fd0f92d2201bd6bb335
treea4a139ee458be82fca6e455a95200e69eba56733
parent4c5847313b137ed7241e532d7f281c36a71055b0
NFSD: Add nfsd4_encode_fattr4_suppattr_exclcreat()

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