Skip to content
Commit 081d53fe authored by Chuck Lever's avatar Chuck Lever
Browse files

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: default avatarChuck Lever <chuck.lever@oracle.com>
parent cbd9abb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment