[Bug 253428] getdirentries does not work correctly on NFS mounts

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 1 21:06:41 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253428

--- Comment #13 from commit-hook at FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=b96e66349ed80f2537777c0cc04266de1a3768b0

commit b96e66349ed80f2537777c0cc04266de1a3768b0
Author:     Rick Macklem <rmacklem at FreeBSD.org>
AuthorDate: 2021-02-15 02:16:58 +0000
Commit:     Rick Macklem <rmacklem at FreeBSD.org>
CommitDate: 2021-03-01 21:00:38 +0000

    getdirentries.2: fix for NFS mounts

    It was reported that getdirentries(2) was
    returning dirents with d_off set to 0 for an NFS
    mount.

    This is believed to be correct behaviour at
    this time (it may change for some NFS mounts
    in the future), but is inconsistent with what the
    getdirentries(2) man page says.

    This patch fixes the man page.

    This is a content change.

    PR:     253428

    (cherry picked from commit a0698341cd894ba4a640e9a9bb0f72c2133d1228)

 lib/libc/sys/getdirentries.2 | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list