fc_transport: Selective return value from BSG timeout function
authorGiridhar Malavali <giridhar.malavali@qlogic.com>
Fri, 19 Jun 2009 23:26:54 +0000 (16:26 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 21 Jun 2009 16:13:41 +0000 (11:13 -0500)
commit47e7e89ed029780adf2cc0cf506fcd4c2d5ca1e2
tree7b3c8d852693c2ac586ffce8a8daf74b644a5bd1
parentb5c6f77680f4ff1775838fcedfdd6026bf5ad777
fc_transport: Selective return value from BSG timeout function

The return value from BSG timout function should be based on the state of the
BSG job. This helps block layer to take selective actions to clean up BSG job.

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_transport_fc.c