Split the two parts of linprocfs_readdir into subroutines.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Mon, 15 Aug 2005 16:50:51 +0000 (16:50 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Mon, 15 Aug 2005 16:50:51 +0000 (16:50 +0000)
commit9c274f280fc0be6659f88cf58cea1543e1bfb411
treece2ea3ba5ee167b836d0899bf03e8118876bd52d
parent6277137dd3ff2195bdb95c3f7c1c0fa149bab889
Split the two parts of linprocfs_readdir into subroutines.
We can generate arbitrary offsets, so factor out the directory entry
length and use the index directly. Use vop_write_dirent.
sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c