From: goggin, edward Date: Tue, 8 Nov 2005 20:02:23 +0000 (-0500) Subject: [SCSI] fix usb storage oops X-Git-Tag: v2.6.15-rc1~7^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34ea80ec6a02ad02e6b9c75c478c18e5880d6713;p=pandora-kernel.git [SCSI] fix usb storage oops The problem is that scsi_run_queue is called from scsi_next_command() after doing a scsi_put_command. If the command was the only thing holding the reference on the scsi_device then the resulting device put will tear down the block queue. Fix this by taking a reference to the device and holding it around scsi_run_queue() Signed-off-by: James Bottomley --- Reading git-diff-tree failed