Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/dev/scsipi
Module Name: src
Committed By: mlelstv
Date: Sat Jun 17 22:35:50 UTC 2017
Modified Files:
src/sys/dev/scsipi: atapiconf.c cd.c scsi_base.c scsiconf.c
scsipi_base.c sd.c ss.c st.c
Log Message:
The atapibus detach path did hold the channel mutex while calling into autoconf,
which would trigger a panic when unplugging a USB ATAPI CDROM.
Align detach code for scsibus and atapibus to fix this.
Also avoid races when detaching devices by replacing callout_stop with
callout_halt.
To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/dev/scsipi/atapiconf.c
cvs rdiff -u -r1.340 -r1.341 src/sys/dev/scsipi/cd.c
cvs rdiff -u -r1.91 -r1.92 src/sys/dev/scsipi/scsi_base.c
cvs rdiff -u -r1.279 -r1.280 src/sys/dev/scsipi/scsiconf.c
cvs rdiff -u -r1.175 -r1.176 src/sys/dev/scsipi/scsipi_base.c
cvs rdiff -u -r1.324 -r1.325 src/sys/dev/scsipi/sd.c
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/scsipi/ss.c
cvs rdiff -u -r1.230 -r1.231 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