]> 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>
Thu, 4 Mar 2021 01:30:23 +0000 (17:30 -0800)
commit0dcfb6d761ccc8bd45b68231f9a5f4ff4c6d989f
tree950daff38edae25065cfec0733e75017a7b42285
parent949eb16e3b4dff61fa99c0c0a8be49ba38bea053
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