Commits

Peter Chen committed bf015fe6e65
driver: scsi: Stop accepting SCSI requests before removing a device Based on Bart Van Assche's below patch Avoid that the code for requeueing SCSI requests triggers a crash by making sure that that code isn't scheduled anymore after a device has been removed. Also, source code inspection of __scsi_remove_device() revealed a race condition in this function: no new SCSI requests must be accepted for a SCSI device after device removal started. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Peter Chen <peter.chen@freescale.com>