diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2009-07-29 17:04:38 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-08-22 17:52:06 -0500 |
commit | 84b05445b9f0b1ac2192f32260c916426d902d79 (patch) | |
tree | aae222b9752b2655f42e64c3e69c8f065516af9a /drivers/scsi/libfc/fc_exch.c | |
parent | e9ba8b427852937caee6ca39bb6f9a893bb32ae1 (diff) | |
download | blackbird-op-linux-84b05445b9f0b1ac2192f32260c916426d902d79.tar.gz blackbird-op-linux-84b05445b9f0b1ac2192f32260c916426d902d79.zip |
[SCSI] libfc: fix WARNING from fc_seq_start_next on closed exchanges
We saw periodic messages like:
WARNING: at drivers/scsi/libfc/fc_exch.c:825 fc_seq_start_next+0x30/0x4b
This was due to trying to allocate a sequence in a request handler
when the exchange had been reset.
Delete the WARN_ON.
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@HansenPartnership.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/libfc/fc_exch.c')
-rw-r--r-- | drivers/scsi/libfc/fc_exch.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c index e6d82d780acd..cab54996375c 100644 --- a/drivers/scsi/libfc/fc_exch.c +++ b/drivers/scsi/libfc/fc_exch.c @@ -822,7 +822,6 @@ struct fc_seq *fc_seq_start_next(struct fc_seq *sp) struct fc_exch *ep = fc_seq_exch(sp); spin_lock_bh(&ep->ex_lock); - WARN_ON((ep->esb_stat & ESB_ST_COMPLETE) != 0); sp = fc_seq_start_next_locked(sp); spin_unlock_bh(&ep->ex_lock); |