firewire: fw-sbp2: log scsi_target ID at release

Makes the good-by message more informative.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Jarod Wilson <jwilson@redhat.com>
This commit is contained in:
Stefan Richter 2008-04-24 23:17:47 +02:00
parent 07c7224cf7
commit f32ddaddf9

View file

@ -784,7 +784,7 @@ static void sbp2_release_target(struct kref *kref)
kfree(lu); kfree(lu);
} }
scsi_remove_host(shost); scsi_remove_host(shost);
fw_notify("released %s\n", tgt->bus_id); fw_notify("released %s, target %d:0:0\n", tgt->bus_id, shost->host_no);
fw_unit_put(tgt->unit); fw_unit_put(tgt->unit);
scsi_host_put(shost); scsi_host_put(shost);