firewire: fw-sbp2: fix parsing of logical unit directories
authorRichard Sharpe <realrichardsharpe@gmail.com>
Wed, 25 Jun 2008 02:11:13 +0000 (19:11 -0700)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 27 Jun 2008 18:55:00 +0000 (20:55 +0200)
commit0e3e2eabf4fbc0162e1f1eb4fd90cb3e9513a554
tree89691ff7227cc09dcb32c72cd7295c16665aaa34
parent543cf4cb3fe6f6cae3651ba918b9c56200b257d0
firewire: fw-sbp2: fix parsing of logical unit directories

There is a small off-by-one bug in firewire-sbp2. This causes problems
when a device exports multiple LUN Directories. I found it when trying
to talk to a SONY DVD Jukebox.

Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com>
Acked-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (op. order, changelog)
drivers/firewire/fw-sbp2.c