HomeFreeBSD

MFC: r283273

Description

MFC: r283273
The NFS client wasn't handling getdirentries(2) requests for sizes
that are not an exact multiple of DIRBLKSIZ correctly. Fortunately
readdir(3) always uses an exact multiple of DIRBLKSIZ, so few applications
were affected. This patch fixes this problem by reducing the size
of the directory read to an exact multiple of DIRBLKSIZ.

Details

Provenance
rmacklemAuthored on
Parents
rS286557: Revert r286465. Retesting it showed that it just works. it might have been
Branches
Unknown
Tags
Unknown