提交 8184fe9b 编写于 作者: F FUJITA Tomonori 提交者: James Bottomley

[SCSI] tgt: fix can_queue bug

should use host->can_queue instead of host->hostt->can_queue.
Signed-off-by: NFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 f9755bea
...@@ -237,7 +237,7 @@ int scsi_tgt_alloc_queue(struct Scsi_Host *shost) ...@@ -237,7 +237,7 @@ int scsi_tgt_alloc_queue(struct Scsi_Host *shost)
* command as is recvd to userspace. uspace can then make * command as is recvd to userspace. uspace can then make
* sure we do not overload the HBA * 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 * We currently only support software LLDs so this does
* not matter for now. Do we need this for the cards we support? * not matter for now. Do we need this for the cards we support?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册