diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-09-18 10:02:12 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-10-16 12:44:27 -0400 |
commit | fce7913b13d0270bcf926f986b7ef329e2e56eec (patch) | |
tree | e91620e9a1f1dc154f27b69c81a343efe63a70e1 /fs/nilfs2 | |
parent | be46e695fb95c8acfb342f3182595aaad45301d5 (diff) | |
download | linux-stable-fce7913b13d0270bcf926f986b7ef329e2e56eec.tar.gz linux-stable-fce7913b13d0270bcf926f986b7ef329e2e56eec.tar.bz2 linux-stable-fce7913b13d0270bcf926f986b7ef329e2e56eec.zip |
NFSD: Use a bitmask loop to encode FATTR4 results
The fattr4 encoder is now structured like the COMPOUND op encoder:
one function for each individual attribute, called by bit number.
Benefits include:
- The individual attributes are now guaranteed to be encoded in
bitmask order into the send buffer
- There can be no unwanted side effects between attribute encoders
- The code now clearly documents which attributes are /not/
implemented on this server
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nilfs2')
0 files changed, 0 insertions, 0 deletions