cvs commit: src/sys/vfs/msdosfs msdosfs_denode.c msdosfs_fat.c msdosfs_lookup.c msdosfs_vnops.c msdosfsmount.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Mar 24 14:43:38 PST 2006
dillon 2006/03/24 14:39:22 PST
DragonFly src repository
Modified files:
sys/vfs/msdosfs msdosfs_denode.c msdosfs_fat.c
msdosfs_lookup.c msdosfs_vnops.c
msdosfsmount.h
Log:
Fix numerous translation problems in msdosfs, related to the recent BUF/BIO
work. The source code was using 'bn' and 'cn' and 'lbn' interchangeability
to mean any one of device block number, logical cluster number, or disk
cluster number (which is relative to some weird offset), and sometimes
overloaded the same variable name with different types of block numbers.
This resulted in a number of errors when the code was initially translated
to 64 bit offsets.
Reported-by: David Rhodus
Revision Changes Path
1.22 +7 -7 src/sys/vfs/msdosfs/msdosfs_denode.c
1.9 +10 -8 src/sys/vfs/msdosfs/msdosfs_fat.c
1.17 +5 -4 src/sys/vfs/msdosfs/msdosfs_lookup.c
1.31 +45 -33 src/sys/vfs/msdosfs/msdosfs_vnops.c
1.7 +20 -11 src/sys/vfs/msdosfs/msdosfsmount.h
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_denode.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_fat.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_lookup.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_vnops.c.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfsmount.h.diff?r1=1.6&r2=1.7&f=u
More information about the Commits
mailing list