Add a missing spin_unlock() found when a BLS frame was mis-delivered.
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.
Signed-off-by Joe Eykholt <[email protected]>
--- drivers/scsi/ofc/openfc/openfc_scsi.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/scsi/ofc/openfc/openfc_scsi.c +2 -0
@@ -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); } }
Quoted 1 line · Joe Eykholt
Add a missing
spin_unlock()found when a BLS frame was mis-delivered.
Please disregard this patch. It got merged into the wrong function. A better one is coming.
Joe
Quoted 27 lines
Signed-off-by Joe Eykholt <[email protected]>--- drivers/scsi/ofc/openfc/openfc_scsi.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)drivers/scsi/ofc/openfc/openfc_scsi.c +2
-1@@ -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); } } -To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html