HomeFreeBSD

zfs readdir: set *eofp to 1 on eof

Description

zfs readdir: set *eofp to 1 on eof

Reported by: rmacklem
Reviewed by: allanjude, markj, rmacklem
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D51930

Details

Provenance
kibAuthored on Aug 16 2025, 12:56 AM
Reviewer
allanjude
Differential Revision
D51930: zfs: fixes for readdir
Parents
rGcead6157cc1b: zfsctl_root_readdir: if there were no dirents to copy out, return EINVAL
Branches
Unknown
Tags
Unknown