HomeFreeBSD

unionfs: replace zero-length read check with KASSERT

Description

unionfs: replace zero-length read check with KASSERT

The lower FS VOP_READDIR() shouldn't return an empty read without
setting EOF; don't try to handle this case only for non-DIAGNOSTIC
builds.

Noted by: kib
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D32629

Details

Provenance
jahAuthored on Oct 28 2021, 5:31 AM
Reviewer
kib
Differential Revision
D32629: unionfs: various locking fixes
Parents
rG66191a76ace5: unionfs: Improve locking assertions
Branches
Unknown
Tags
Unknown