]> git.karo-electronics.de Git - linux-beck.git/commit
sbp2: did not clean up after scsi_add_device() failed
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 13 Dec 2005 04:03:30 +0000 (23:03 -0500)
committerJody McIntyre <scjody@modernduck.com>
Tue, 13 Dec 2005 04:03:30 +0000 (23:03 -0500)
commitdc3edd5412341b02d84144ddfd5bf6ccaaeeb1ac
treedf739298b8c5ea5b3d10b41db3c42c43c77a0786
parent43863eba763e0c91e33e342ce5b7650fea594a53
sbp2: did not clean up after scsi_add_device() failed

If scsi_add_device() at the end of sbp2_start_device() fails, e.g. due to
transport errors during SCSI inquiry, sbp2 needs to log out of the device
and release all associated resources.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Jody McIntyre <scjody@modernduck.com>
drivers/ieee1394/sbp2.c