HomeFreeBSD

vfs: Handle zero-length directory reads

Description

vfs: Handle zero-length directory reads

Avoid a false-positive assertion in VOP_READDIR in that case.

Reported by: syzbot+4689a0b0d5918a8e3bc4@syzkaller.appspotmail.com
Fixes: 77b273d8f5f4 ("vfs: Assert that VOP_READDIR sets *eofflag properly")

Details

Provenance
markjAuthored on Jul 23 2025, 5:33 PM
Parents
rG26069bca2d64: mkdir.2: Correct HISTORY
Branches
Unknown
Tags
Unknown