HomeFreeBSD

zfs readdir: if there were no dirents to copy out, return EINVAL same as UFS

Description

zfs readdir: if there were no dirents to copy out, return EINVAL same as UFS

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, 1:33 AM
Reviewer
allanjude
Differential Revision
D51930: zfs: fixes for readdir
Parents
rGadba3e087173: zfs readdir: set *eofp to 1 on eof
Branches
Unknown
Tags
Unknown
Reverted By
rG932e404f12c1: Revert "zfs readdir: if there were no dirents to copy out, return EINVAL same…