NFSD: Add nfsd4_encode_fattr4_owner()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 18 Sep 2023 14:00:05 +0000 (10:00 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:20 +0000 (12:44 -0400)
commitfa51a5201bb90a4cf291b5ad5f6ee1af8be5548c
treed331e172ea5a55cbdb4f61fb1aa40edd535716c5
parent9f329fea25188def0a42bacd27894c877bb599c8
NFSD: Add nfsd4_encode_fattr4_owner()

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