diff options
author | 2023-09-18 09:59:52 -0400 | |
---|---|---|
committer | 2023-10-16 12:44:20 -0400 | |
commit | f4cf5042011223fcfec863ddd55e5cb6c4b50827 (patch) | |
tree | 77eda9cafcd19cb02471f0d61fafbd9ea4969cb7 /fs/nfsd/xdr4.h | |
parent | NFSD: Add nfsd4_encode_fattr4_maxwrite() (diff) | |
download | linux-f4cf5042011223fcfec863ddd55e5cb6c4b50827.tar.gz linux-f4cf5042011223fcfec863ddd55e5cb6c4b50827.tar.bz2 linux-f4cf5042011223fcfec863ddd55e5cb6c4b50827.zip |
NFSD: Add nfsd4_encode_fattr4_mode()
Refactor the encoder for FATTR4_MODE 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>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r-- | fs/nfsd/xdr4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index f0866a55fd91..52322acc1e9f 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h @@ -93,6 +93,7 @@ nfsd4_encode_uint32_t(struct xdr_stream *xdr, u32 val) #define nfsd4_encode_aceflag4(x, v) nfsd4_encode_uint32_t(x, v) #define nfsd4_encode_acemask4(x, v) nfsd4_encode_uint32_t(x, v) #define nfsd4_encode_acetype4(x, v) nfsd4_encode_uint32_t(x, v) +#define nfsd4_encode_mode4(x, v) nfsd4_encode_uint32_t(x, v) #define nfsd4_encode_nfs_lease4(x, v) nfsd4_encode_uint32_t(x, v) /** |