firewire: fw-sbp2: fix reference counting
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 24 Feb 2008 18:00:51 +0000 (19:00 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 18 Apr 2008 15:55:31 +0000 (17:55 +0200)
commit7c1fca336661aaeb70b9094c4b8eaae389027509
tree42280426496b607a08d3fa5689a2107bf5f1738b
parentbd7dee6311156b7cdf884344feb34628909398ad
firewire: fw-sbp2: fix reference counting

The reference count of the unit dropped too low in an error path in
sbp2_probe.  Fixed by moving the _get further up.

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