Skip to contentSkip to conversation

Add a missing spin_unlock() found when a BLS frame was mis-delivered.

PATCH New Joe Eykholt 1 participant 1 message Nov 30, 2007 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add a missing spin_unlock() found when a BLS frame was mis-delivered.

Add a missing spin_unlock() found when a BLS frame was mis-delivered.

---
 drivers/scsi/ofc/openfc/openfc_scsi.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/scsi/ofc/openfc/openfc_scsi.c +2 -0
index 86e6895..5fa0ad6 100644
@@ -548,6 +548,8 @@ void openfc_scsi_abort_iocontext(struct fc_scsi_pkt *fsp)
                fsp->status_code = OPENFC_ERROR;
                fsp->io_status = (SUGGEST_RETRY << 24);
                (*fsp->done) (fsp);
+       } else {
+               spin_unlock(&qp->scsi_pkt_lock);
        }
 }
 

--
1.5.3.6