Use vop_write_dirent. Correctly handle the case of spare fd tables, e.g.
commitce1d0d34faf7c267b4343a0d459f94a9c00858af
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 16 Aug 2005 22:40:03 +0000 (16 22:40 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 16 Aug 2005 22:40:03 +0000 (16 22:40 +0000)
tree500c7f0b96c08104fc32c56a5223f1601e1bd167
parent015b9472604eb03c4f2c4cbd1bc4b9db647109b4
Use vop_write_dirent. Correctly handle the case of spare fd tables, e.g.
0, 1, 2 and 8 are open and 3 to 7 are closed.
sys/vfs/fdesc/fdesc_vnops.c