Utilize vop_write_dirent. Slightly change the order by writing to
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 16 Aug 2005 21:37:54 +0000 (21:37 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 16 Aug 2005 21:37:54 +0000 (21:37 +0000)
commitf303230d5f8bc46dabd2198512389560cb8c8ff0
tree227a1b7fed4bdb3a03533a1fe67536a53b423080
parentb7d9f6b6604d29b97a62ad8ab24b47afe3b99f52
Utilize vop_write_dirent. Slightly change the order by writing to
userland first and fetching the inode information afterwards. This
should be save and removes the need for copying the name first.

Basic testing by: Sergey Gluschenko
sys/vfs/smbfs/smbfs_io.c