[SCSI] Silencing 'killing requests for dead queue'
authorHannes Reinecke <hare@suse.de>
Wed, 9 Nov 2011 07:39:24 +0000 (08:39 +0100)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 9 Nov 2011 18:07:07 +0000 (12:07 -0600)
When we tear down a device we try to flush all outstanding
commands in scsi_free_queue(). However the check in
scsi_request_fn() is imperfect as it only signals that
we _might start_ aborting commands, not that we've actually
aborted some.
So move the printk inside the scsi_kill_request function,
this will also give us a hint about which commands are aborted.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

No differences found