Commit:     8184fe9b6e8928c8d5be3e2a1326b8b9183e409d
Parent:     f9755bea9c44aaeae4d7f76e0cd86dfbbd5dfe12
Author:     FUJITA Tomonori <[EMAIL PROTECTED]>
AuthorDate: Sat Sep 1 02:02:16 2007 +0900
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 14:46:51 2007 -0400

    [SCSI] tgt: fix can_queue bug
    should use host->can_queue instead of host->hostt->can_queue.
    Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]>
    Signed-off-by: Mike Christie <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
 drivers/scsi/scsi_tgt_lib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/scsi_tgt_lib.c b/drivers/scsi/scsi_tgt_lib.c
index 5851c8e..66c692f 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)
         * command as is recvd to userspace. uspace can then make
         * sure we do not overload the HBA
-       q->nr_requests = shost->hostt->can_queue;
+       q->nr_requests = shost->can_queue;
         * We currently only support software LLDs so this does
         * not matter for now. Do we need this for the cards we support?
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to