cvs commit: src/sys/dev/disk/ata ata-disk.c src/sys/dev/disk/fd fd.c src/sys/dev/raid/aac aac_disk.c src/sys/i386/boot/dosboot disklabe.h src/sys/kern subr_disk.c subr_diskmbr.c src/sys/pc98/pc98 diskslice_machdep.c fd.c wd.c src/sys/sys ...
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Jun 2 12:32:42 PDT 2004
dillon 2004/06/02 12:31:02 PDT
DragonFly src repository
Modified files:
sys/dev/disk/ata ata-disk.c
sys/dev/disk/fd fd.c
sys/dev/raid/aac aac_disk.c
sys/i386/boot/dosboot disklabe.h
sys/kern subr_disk.c subr_diskmbr.c
sys/pc98/pc98 diskslice_machdep.c fd.c wd.c
sys/sys disklabel.h
Log:
Clean up some misuses of bp->b_dev after a strategy function has completed
(the field cannot be used after biodone() has been called). Add a separate
dev_t argument to diskerr() to take care of the issue and get rid of some
FD error reporting hacks at the same time.
Reported-by: David Rhodus
Revision Changes Path
1.19 +4 -2 src/sys/dev/disk/ata/ata-disk.c
1.17 +9 -6 src/sys/dev/disk/fd/fd.c
1.9 +4 -2 src/sys/dev/raid/aac/aac_disk.c
1.4 +1 -1 src/sys/i386/boot/dosboot/disklabe.h
1.12 +8 -7 src/sys/kern/subr_disk.c
1.8 +2 -2 src/sys/kern/subr_diskmbr.c
1.4 +5 -3 src/sys/pc98/pc98/diskslice_machdep.c
1.10 +7 -9 src/sys/pc98/pc98/fd.c
1.9 +4 -3 src/sys/pc98/pc98/wd.c
1.7 +1 -1 src/sys/sys/disklabel.h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/ata-disk.c.diff?r1=1.18&r2=1.19&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/fd/fd.c.diff?r1=1.16&r2=1.17&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/aac/aac_disk.c.diff?r1=1.8&r2=1.9&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/i386/boot/dosboot/disklabe.h.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_disk.c.diff?r1=1.11&r2=1.12&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_diskmbr.c.diff?r1=1.7&r2=1.8&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/pc98/pc98/diskslice_machdep.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/pc98/pc98/fd.c.diff?r1=1.9&r2=1.10&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/pc98/pc98/wd.c.diff?r1=1.8&r2=1.9&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/disklabel.h.diff?r1=1.6&r2=1.7&f=h
More information about the Commits
mailing list