CVSROOT: /cvs Module name: src Changes by: [email protected] 2018/06/26 08:43:01
Modified files:
sys/kern : kern_descrip.c
Log message:
Remove a duplicate fd_used() call. The new file descriptor passed
to dupfdopen() has already been registered with fd_used() in fdalloc().
The duplicate call distorted the number of open file descriptors
returned by getdtablecount(2) if a file was opened via /dev/fd/.
While there, assert that the file instance should already be in the
file list.
OK mpi@
