zfs control dir: properly set eof zfs readdir: set *eofp to 1 on eof zfs readdir: if there were no dirents to copy out, return EINVAL same as UFS
Details
Details
- Reviewers
rmacklem markj allanjude - Commits
- rG9a3edc8d5dbc: zfs readdir: if there were no dirents to copy out, return EINVAL same as UFS
rGadba3e087173: zfs readdir: set *eofp to 1 on eof
rGcead6157cc1b: zfsctl_root_readdir: if there were no dirents to copy out, return EINVAL
rG1031208ebceb: zfsctl_root_readdir(): properly set eof
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c | ||
---|---|---|
722 | If you are returning some entrie(s) but the |