diff options
author | mjg <mjg@FreeBSD.org> | 2014-06-22 01:31:55 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2014-06-22 01:31:55 +0000 |
commit | d74326bc91b75e4a8f54bcc1fdb0a83ab223e560 (patch) | |
tree | da5e63a89bfc99a89e509c6cae0e1bd9a50d4de5 /share | |
parent | 38cd838637eab022e13231e78d0727fb8ac4da12 (diff) | |
download | FreeBSD-src-d74326bc91b75e4a8f54bcc1fdb0a83ab223e560.zip FreeBSD-src-d74326bc91b75e4a8f54bcc1fdb0a83ab223e560.tar.gz |
fd: replace fd_nfiles with fd_lastfile where appropriate
fd_lastfile is guaranteed to be the biggest open fd, so when the intent
is to iterate over active fds or lookup one, there is no point in looking
beyond that limit.
Few places are left unpatched for now.
MFC after: 1 week
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions