Page MenuHomeFreeBSD

devfs: Set eofflag in devfs_readdir()
ClosedPublic

Authored by markj on Thu, May 29, 2:50 PM.

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Thu, May 29, 2:50 PM
kib added inline comments.
sys/fs/devfs/devfs_vnops.c
1518
This revision is now accepted and ready to land.Thu, May 29, 2:53 PM
This revision was automatically updated to reflect the committed changes.