commit | 081d53fe0b43c47c36d1832b759bf14edde9cdbb | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Thu Nov 19 13:09:13 2020 -0500 |
committer | Chuck Lever <chuck.lever@oracle.com> | Mon Nov 30 14:46:36 2020 -0500 |
tree | cadd3f0267a6d6887593bf8cd3d9abd5c5022a7e | |
parent | cbd9abb3706e96563b36af67595707a7054ab693 [diff] |
NFSD: Change the way the expected length of a fattr4 is checked Because the fattr4 is now managed in an xdr_stream, all that is needed is to store the initial position of the stream before decoding the attribute list. Then the actual length of the list is computed using the final stream position, after decoding is complete. No behavior change is expected. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>