[SCSI] libiscsi: check if iscsi host has work queue before queueing work
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 13 May 2009 22:57:48 +0000 (17:57 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 23 May 2009 20:44:12 +0000 (15:44 -0500)
commit1336aed10b8af791378b017f0fa8da4e5b827b8d
tree6b61863e6bfb219363a705155defe36f75390865
parent301e0f7e4d78e956c58b66888e134dbdb44ea28e
[SCSI] libiscsi: check if iscsi host has work queue before queueing work

Instead of having libiscsi check if the offload bit is set, have
it check if the lld created a work queue. I think this is more
clear.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/libiscsi.c