]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] refactor sdev/starget/shost busy checking
authorKiyoshi Ueda <k-ueda@ct.jp.nec.com>
Sat, 4 Oct 2008 18:11:06 +0000 (14:11 -0400)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 23 Oct 2008 16:42:16 +0000 (11:42 -0500)
This patch refactors the busy checking codes of scsi_device,
Scsi_Host and scsi_target.  There should be no functional change.

This is a preparation for another patch which exports scsi's busy
state to the block layer for request stacking drivers.

Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

No differences found