cvs commit: src/sys/emulation/linux/i386/linprocfs linprocfs_vnops.c
Joerg Sonnenberger
joerg at crater.dragonflybsd.org
Mon Aug 15 09:51:41 PDT 2005
joerg 2005/08/15 09:50:51 PDT
DragonFly src repository
Modified files:
sys/emulation/linux/i386/linprocfs linprocfs_vnops.c
Log:
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.
Revision Changes Path
1.20 +174 -153 src/sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c.diff?r1=1.19&r2=1.20&f=u
More information about the Commits
mailing list