NFSD: Add nfsd4_encode_fattr4_fs_locations()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 18 Sep 2023 13:59:14 +0000 (09:59 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:18 +0000 (12:44 -0400)
commita1469a370472fb77a1a5c3545e9c2d7fee8775c3
treef0a3d02751a0139909a52ff5272a854bbd0fab47
parentb56b75266300d5d4042678b6d65953ae94ec1486
NFSD: Add nfsd4_encode_fattr4_fs_locations()

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