commit | b560665ce5a617aff9c62b94a82340fe11fc0d91 | [log] [tgz] |
---|---|---|
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | Sat Mar 01 15:36:34 2008 +0900 |
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Mon Mar 03 13:19:03 2008 -0600 |
tree | 3f55c9ee12459c6b373cc298f854f7dde65b0e6b | |
parent | ab3b0be84c3877dd0cccef38693254b83782bb70 [diff] |
[SCSI] ibmvstgt: set up scsi_host properly before __scsi_alloc_queue Before calling __scsi_alloc_queue, scsi_host->shost_gendev.parent must be initialized properly. This patch moves __scsi_alloc_queue after scsi_add_host (like initiator drivers do). Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>