[SCSI] handle scsi_init_queue failure properly
authorFUJITA Tomonori <tomof@acm.org>
Fri, 25 Jan 2008 14:25:14 +0000 (23:25 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 30 Jan 2008 19:14:25 +0000 (13:14 -0600)
commit3d9dd6eef888658d26ebea0cc24d15d2a93ab015
treef3882779400f1ac10469e3f76ea544408712c1b2
parentb172b6e99e948b6abb180082cfeb8f9b1450ebff
[SCSI] handle scsi_init_queue failure properly

scsi_init_queue is expected to clean up allocated things when it
fails.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_lib.c