From: Bart Van Assche Date: Fri, 29 Jun 2012 15:36:07 +0000 (+0000) Subject: [SCSI] Stop accepting SCSI requests before removing a device X-Git-Tag: v3.6-rc1~103^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b485462aca7df4e32bcf7efb6f84a69e8b640243;p=pandora-kernel.git [SCSI] Stop accepting SCSI requests before removing a device 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 Reviewed-by: Mike Christie Acked-by: Tejun Heo Signed-off-by: James Bottomley --- Reading git-diff-tree failed