DragonFly commits List (threaded) for 2007-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/include dirent.h src/sys/sys dirent.h vfsops.h src/sys/emulation/linux/i386/linprocfs linprocfs_vnops.c src/sys/kern vfs_vopops.c src/sys/vfs/fdesc fdesc_vnops.c src/sys/vfs/gnu/ext2fs ext2_lookup.c src/sys/vfs/hpfs hpfs_vnops.c ...
dillon 2007/11/20 13:03:51 PST
DragonFly src repository
Modified files:
include dirent.h
sys/sys dirent.h vfsops.h
sys/emulation/linux/i386/linprocfs linprocfs_vnops.c
sys/kern vfs_vopops.c
sys/vfs/fdesc fdesc_vnops.c
sys/vfs/gnu/ext2fs ext2_lookup.c
sys/vfs/hpfs hpfs_vnops.c
sys/vfs/isofs/cd9660 cd9660_vnops.c
sys/vfs/msdosfs msdosfs_vnops.c
sys/vfs/ntfs ntfs_vnops.c
sys/vfs/nwfs nwfs_vnops.c
sys/vfs/portal portal_vnops.c
sys/vfs/procfs procfs_vnops.c
sys/vfs/smbfs smbfs_vnops.c
sys/vfs/udf udf_vnops.c
sys/vfs/ufs ufs_vnops.c
sys/vfs/union union_vnops.c
sys/vfs/userfs userfs_vnops.c
Log:
Make necessary changes to readdir/getdirentries to support HAMMER. HAMMER
needs to use 64 bit directory cookies.
Adjust libc's DIR structure and change readdir to acquire the directory
position via lseek() instead of using the basep argument to getdirentries().
The basep argument is a long, which is 32 bits on IA32, and it just isn't
wide enough. The seek position is 64 bits and is wide enough.
Sizeof(DIR) has changed, but hopefully won't cause any major issues since
libc is responsible for allocating it. The APIs remain the same.
Adjust the VOP_READIR() VFS interface routine to return 64 bit cookies.
All VFSs have been reworked, requiring only minor adjustments.
Revision Changes Path
1.7 +2 -1 src/include/dirent.h
1.7 +1 -0 src/sys/sys/dirent.h
1.30 +2 -2 src/sys/sys/vfsops.h
1.42 +1 -1 src/sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c
1.36 +1 -1 src/sys/kern/vfs_vopops.c
1.39 +1 -1 src/sys/vfs/fdesc/fdesc_vnops.c
1.27 +6 -6 src/sys/vfs/gnu/ext2fs/ext2_lookup.c
1.46 +2 -12 src/sys/vfs/hpfs/hpfs_vnops.c
1.39 +4 -4 src/sys/vfs/isofs/cd9660/cd9660_vnops.c
1.54 +3 -3 src/sys/vfs/msdosfs/msdosfs_vnops.c
1.44 +1 -11 src/sys/vfs/ntfs/ntfs_vnops.c
1.38 +1 -1 src/sys/vfs/nwfs/nwfs_vnops.c
1.39 +1 -1 src/sys/vfs/portal/portal_vnops.c
1.46 +1 -1 src/sys/vfs/procfs/procfs_vnops.c
1.41 +1 -1 src/sys/vfs/smbfs/smbfs_vnops.c
1.32 +3 -3 src/sys/vfs/udf/udf_vnops.c
1.63 +5 -7 src/sys/vfs/ufs/ufs_vnops.c
1.39 +1 -1 src/sys/vfs/union/union_vnops.c
1.4 +1 -1 src/sys/vfs/userfs/userfs_vnops.c
http://www.dragonflybsd.org/cvsweb/src/include/dirent.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/dirent.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/vfsops.h.diff?r1=1.29&r2=1.30&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c.diff?r1=1.41&r2=1.42&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_vopops.c.diff?r1=1.35&r2=1.36&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/fdesc/fdesc_vnops.c.diff?r1=1.38&r2=1.39&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/gnu/ext2fs/ext2_lookup.c.diff?r1=1.26&r2=1.27&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hpfs/hpfs_vnops.c.diff?r1=1.45&r2=1.46&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/isofs/cd9660/cd9660_vnops.c.diff?r1=1.38&r2=1.39&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_vnops.c.diff?r1=1.53&r2=1.54&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ntfs/ntfs_vnops.c.diff?r1=1.43&r2=1.44&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nwfs/nwfs_vnops.c.diff?r1=1.37&r2=1.38&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/portal/portal_vnops.c.diff?r1=1.38&r2=1.39&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/procfs/procfs_vnops.c.diff?r1=1.45&r2=1.46&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/smbfs/smbfs_vnops.c.diff?r1=1.40&r2=1.41&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/udf/udf_vnops.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_vnops.c.diff?r1=1.62&r2=1.63&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/union/union_vnops.c.diff?r1=1.38&r2=1.39&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/userfs/userfs_vnops.c.diff?r1=1.3&r2=1.4&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]