Simply the loop based on the knowledge that fd <= fdp->fd_lastfile
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 8 Apr 2005 17:39:31 +0000 (17:39 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 8 Apr 2005 17:39:31 +0000 (17:39 +0000)
commit5e8cfac8300029a7ffa10324b55edf0ffcb322f5
treee7b21057a63b5ec3433d5b62b7851018c42829a1
parentaca618a3d0308b6b34fa9ad5b87c22d257ba5764
Simply the loop based on the knowledge that fd <= fdp->fd_lastfile
(already checked) and fd >= 0 (also checked).

Discussed-with: Jeffrey Hsu
sys/kern/kern_descrip.c