Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/dev
Module Name: src
Committed By: ad
Date: Sun Jul 29 12:50:24 UTC 2007
Modified Files:
src/sys/dev: ccd.c cgd.c dksubr.c fss.c ld.c md.c vnd.c
src/sys/dev/ata: ld_ataraid.c wd.c
src/sys/dev/dkwedge: dk.c
src/sys/dev/i2o: ld_iop.c
src/sys/dev/ic: ld_aac.c ld_cac.c ld_icp.c ld_mlx.c rrunner.c
src/sys/dev/isa: fd.c mcd.c wt.c
src/sys/dev/mca: ed_mca.c edc_mca.c
src/sys/dev/pci: ld_amr.c ld_twa.c ld_twe.c
src/sys/dev/raidframe: rf_netbsdkintf.c rf_states.c
src/sys/dev/scsipi: cd.c scsipi_ioctl.c sd.c ss.c st.c
Log Message:
It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.
To generate a diff of this commit:
cvs rdiff -r1.121 -r1.122 src/sys/dev/ccd.c
cvs rdiff -r1.45 -r1.46 src/sys/dev/cgd.c
cvs rdiff -r1.30 -r1.31 src/sys/dev/dksubr.c
cvs rdiff -r1.33 -r1.34 src/sys/dev/fss.c
cvs rdiff -r1.48 -r1.49 src/sys/dev/ld.c
cvs rdiff -r1.49 -r1.50 src/sys/dev/md.c
cvs rdiff -r1.168 -r1.169 src/sys/dev/vnd.c
cvs rdiff -r1.20 -r1.21 src/sys/dev/ata/ld_ataraid.c
cvs rdiff -r1.341 -r1.342 src/sys/dev/ata/wd.c
cvs rdiff -r1.27 -r1.28 src/sys/dev/dkwedge/dk.c
cvs rdiff -r1.24 -r1.25 src/sys/dev/i2o/ld_iop.c
cvs rdiff -r1.15 -r1.16 src/sys/dev/ic/ld_aac.c
cvs rdiff -r1.17 -r1.18 src/sys/dev/ic/ld_cac.c
cvs rdiff -r1.16 -r1.17 src/sys/dev/ic/ld_icp.c
cvs rdiff -r1.13 -r1.14 src/sys/dev/ic/ld_mlx.c
cvs rdiff -r1.62 -r1.63 src/sys/dev/ic/rrunner.c
cvs rdiff -r1.74 -r1.75 src/sys/dev/isa/fd.c
cvs rdiff -r1.99 -r1.100 src/sys/dev/isa/mcd.c
cvs rdiff -r1.76 -r1.77 src/sys/dev/isa/wt.c
cvs rdiff -r1.36 -r1.37 src/sys/dev/mca/ed_mca.c src/sys/dev/mca/edc_mca.c
cvs rdiff -r1.12 -r1.13 src/sys/dev/pci/ld_amr.c
cvs rdiff -r1.6 -r1.7 src/sys/dev/pci/ld_twa.c
cvs rdiff -r1.27 -r1.28 src/sys/dev/pci/ld_twe.c
cvs rdiff -r1.229 -r1.230 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -r1.40 -r1.41 src/sys/dev/raidframe/rf_states.c
cvs rdiff -r1.266 -r1.267 src/sys/dev/scsipi/cd.c
cvs rdiff -r1.62 -r1.63 src/sys/dev/scsipi/scsipi_ioctl.c
cvs rdiff -r1.263 -r1.264 src/sys/dev/scsipi/sd.c
cvs rdiff -r1.71 -r1.72 src/sys/dev/scsipi/ss.c
cvs rdiff -r1.197 -r1.198 src/sys/dev/scsipi/st.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index