aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFUJITA Tomonori <tomof@acm.org>2007-08-31 13:02:16 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:46:51 -0400
commit8184fe9b6e8928c8d5be3e2a1326b8b9183e409d (patch)
tree303f9bcc4ad4fcaa7e205cb87c715529eee3302c /drivers
parentf9755bea9c44aaeae4d7f76e0cd86dfbbd5dfe12 (diff)
[SCSI] tgt: fix can_queue bug
should use host->can_queue instead of host->hostt->can_queue. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/scsi_tgt_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_tgt_lib.c b/drivers/scsi/scsi_tgt_lib.c
index 5851c8e53e40..66c692ffa305 100644
--- a/drivers/scsi/scsi_tgt_lib.c
+++ b/drivers/scsi/scsi_tgt_lib.c
@@ -237,7 +237,7 @@ int scsi_tgt_alloc_queue(struct Scsi_Host *shost)
237 * command as is recvd to userspace. uspace can then make 237 * command as is recvd to userspace. uspace can then make
238 * sure we do not overload the HBA 238 * sure we do not overload the HBA
239 */ 239 */
240 q->nr_requests = shost->hostt->can_queue; 240 q->nr_requests = shost->can_queue;
241 /* 241 /*
242 * We currently only support software LLDs so this does 242 * We currently only support software LLDs so this does
243 * not matter for now. Do we need this for the cards we support? 243 * not matter for now. Do we need this for the cards we support?