diff options
author | Matthew Wilcox <matthew@wil.cx> | 2007-08-15 20:56:55 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 20:51:33 +0200 |
commit | f01abb362f878b8e2de69c03662d8e7f3ae1d6f8 (patch) | |
tree | c1cd3eedd0919db831175e2da28e8c494848058f /drivers/scsi/aic94xx/aic94xx_task.c | |
parent | [SCSI] simscsi: Free scsi host on error (diff) | |
download | linux-f01abb362f878b8e2de69c03662d8e7f3ae1d6f8.tar.xz linux-f01abb362f878b8e2de69c03662d8e7f3ae1d6f8.zip |
[SCSI] aic94xx: Free scsi host on error
If an error occurred during initialisation, we would sometimes fail to
call scsi_host_put() and thus end up with a leaked scsi_host. It was
also possible to miss calling scsi_remove_host().
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_task.c')
0 files changed, 0 insertions, 0 deletions