Skip to content
Commit 0ec016e3 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd4: tweak rd_dircount accounting



RFC 3530 14.2.24 says

	This value represents the length of the names of the directory
	entries and the cookie value for these entries.  This length
	represents the XDR encoding of the data (names and cookies)...

The "xdr encoding" of the name should probably include the 4 bytes for
the length.

But this is all just a hint so not worth e.g. backporting to stable.

Also reshuffle some lines to more clearly group together the
dircount-related code.

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 67db1034
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment