]> err.no Git - linux-2.6/commit
[SCSI] ibmvstgt: set up scsi_host properly before __scsi_alloc_queue
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Sat, 1 Mar 2008 06:36:34 +0000 (15:36 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 3 Mar 2008 19:19:03 +0000 (13:19 -0600)
commitb560665ce5a617aff9c62b94a82340fe11fc0d91
tree3f55c9ee12459c6b373cc298f854f7dde65b0e6b
parentab3b0be84c3877dd0cccef38693254b83782bb70
[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>
drivers/scsi/ibmvscsi/ibmvstgt.c