diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2025-08-01 08:22:14 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2025-08-01 16:48:53 +0000 |
commit | 011efaa5cd246a67bbe6e37364baa18178a9f7bd (patch) | |
tree | 8ed669ed132b1e6941719e4453616ffd165e4782 /lib/CodeGen/MIRParser/(developers-only) | |
parent | d5ec97156d3314f979629968f76151c2d35a1e62 (diff) |
Return EINVAL if this is the first dirent encountered with the short
buffer, or EJUSTRETURN if something was already copied out.
This is needed to pass eof check in vop_readdir_post(): we are not at
eof but resid was not advanced.
Reported and tested by: pho (previous version)
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D51667
Diffstat (limited to 'lib/CodeGen/MIRParser/(developers-only)')
0 files changed, 0 insertions, 0 deletions