HomeFreeBSD

devfs: Set eofflag in devfs_readdir()

Description

devfs: Set eofflag in devfs_readdir()

At least vn_dir_next_dirent() checks that eofflag is set appropriately
when INVARIANTS is enabled, so the omission here could cause an
assertion failure.

Reviewed by: kib
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D50598

(cherry picked from commit 198d2ed2d4c6c921928a9175f825d0d8345e5a46)

Details

Provenance
markjAuthored on May 29 2025, 6:25 PM
Reviewer
kib
Differential Revision
D50598: devfs: Set eofflag in devfs_readdir()
Parents
rG021eb07a8b28: igc: Fix some issues in igc_neweitr()
Branches
Unknown
Tags
Unknown