commit | 32f95792500794a0a7cce266b7dafb2bee323bf8 | [log] [tgz] |
---|---|---|
author | Brian King <brking@us.ibm.com> | Wed Feb 22 14:28:24 2006 -0600 |
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | Mon Feb 27 23:38:59 2006 -0600 |
tree | f7565bd227ffbb71b72f306de84bb1dca3bd0917 | |
parent | ffedb4522571ac170f941678d138a31bc0884ab4 [diff] |
[SCSI] scsi: Handle device_add failure in scsi_alloc_target 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>