Page MenuHomeFreeBSD

fdescfs: Set *eofflag in fdesc_readdir()
ClosedPublic

Authored by markj on Jul 15 2025, 12:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 15, 10:23 AM
Unknown Object (File)
Mon, Jan 12, 1:31 PM
Unknown Object (File)
Dec 1 2025, 8:35 PM
Unknown Object (File)
Nov 30 2025, 10:40 PM
Unknown Object (File)
Nov 24 2025, 8:36 PM
Unknown Object (File)
Nov 24 2025, 7:37 PM
Unknown Object (File)
Nov 19 2025, 2:40 PM
Unknown Object (File)
Nov 19 2025, 5:54 AM
Subscribers

Diff Detail

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

Event Timeline

sys/fs/fdescfs/fdesc_vnops.c
564–569

Might be write this without duplication?

while (uio->uio_resid >= UIO_MX) {
     if (i >= fdp->fd_nfiles + 2) {
           if (ap->a_eofflag != NULL)
             *ap->a_eofflag = 1;
          break;
    }
markj marked an inline comment as done.

Deduplicate

This revision is now accepted and ready to land.Jul 15 2025, 12:49 AM
This revision was automatically updated to reflect the committed changes.