Bump fd_lastfile, freefile, and refcnt to 32 bit ints. Also bump cmask
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 21 Jun 2005 17:59:47 +0000 (17:59 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 21 Jun 2005 17:59:47 +0000 (17:59 +0000)
commita8530c06557d8656263bdfa4bcdc8acda753b189
tree9b6e2538b62fa69d55ecebf5ed04694073436f9a
parentb7bef88cb33d4110a9d0b3b1f9e30f63cdd7a645
Bump fd_lastfile, freefile, and refcnt to 32 bit ints.  Also bump cmask
(though that doesn't fix any particular bug).  lastfile and freefile were
previously unsigned shorts which caused the system to become very confused
when any single user process had more then 65535 open file descriptors.

Reported-by: Jeffrey Hsu <hsu@leaf.dragonflybsd.org>
sys/sys/filedesc.h