[SCSI] libfc: fix sequence-initiative WARN in fc_seq_start_next
authorJoe Eykholt <jeykholt@cisco.com>
Sat, 13 Mar 2010 00:08:29 +0000 (16:08 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:23:40 +0000 (09:23 -0500)
commitcc3593d3882ffa7dfaa739a8302b256955be7d99
tree37e31656c73be8a19a1a6cea48597d14315db163
parent4291365784c9622c9d643cf23421f9c7b9662d71
[SCSI] libfc: fix sequence-initiative WARN in fc_seq_start_next

When starting a new response sequence in a multi-sequence
exchange, a warning was issued that sequence initiative
wasn't held.

The bug was that sequence initiative was cleared by the previous
sequence due to the END_SEQ flag being on.  The intent may have
been to check LAST_SEQ.  Change just to check SEQ_INIT.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_exch.c