]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] scsi: Handle device_add failure in scsi_alloc_target
authorBrian King <brking@us.ibm.com>
Wed, 22 Feb 2006 20:28:24 +0000 (14:28 -0600)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 28 Feb 2006 05:38:59 +0000 (23:38 -0600)
Fixes scsi to handle device_add failure in scsi_alloc_target.
Without this patch, if this call were to fail, we can oops
when we free the target.

Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

No differences found