]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
getdirentries.2: fix for NFS mounts
authorRick Macklem <rmacklem@FreeBSD.org>
Mon, 15 Feb 2021 02:16:58 +0000 (18:16 -0800)
committerRick Macklem <rmacklem@FreeBSD.org>
Mon, 15 Feb 2021 02:16:58 +0000 (18:16 -0800)
commita0698341cd894ba4a640e9a9bb0f72c2133d1228
tree71a49cc7d0d8c0714d3af911dcd782b3a8f66611
parentee10666327b622c2f20a4ac17e7a5673b04e7c9a
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
Reviewed by: asomers
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D28664
lib/libc/sys/getdirentries.2