]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: Allocate scsi_host up front and allocate the sbp2_device as hostdata.
authorKristian Høgsberg <krh@redhat.com>
Wed, 9 May 2007 23:23:07 +0000 (19:23 -0400)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 10 May 2007 16:24:14 +0000 (18:24 +0200)
commit872248b572d70c2080c46becaf798d4456e72616
tree16d0853c3f895384320504e6d3e2526a0f46508d
parentb31381c2f83005bb4f1d301fee55dcafebd6b57a
firewire: Allocate scsi_host up front and allocate the sbp2_device as hostdata.

Avoids an extra allocation and simplifies lifetime rules for the scsi_host.

Signed-off-by: Kristian Hoegsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-sbp2.c