[SCSI] libosd: Bugfix of error handling in attributes-list decoding
authorBoaz Harrosh <bharrosh@panasas.com>
Mon, 16 Nov 2009 18:47:47 +0000 (20:47 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:01:47 +0000 (12:01 -0600)
commiteff21490c91f981126f0ead3c081dde4f425d387
tree4c4da80842cd2382133ec7f08505ecc539d5e315
parent71ecb74b15377a6c0e0e6ea95d4b549580fb4d48
[SCSI] libosd: Bugfix of error handling in attributes-list decoding

When an error was detected in an attribute list do to
a target bug. We would print an error but spin endlessly
regardless. Fix it.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/osd/osd_initiator.c