public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Joe Eykholt <fcoe@eykholt.com>
To: linux-scsi@vger.kernel.org
Subject: [OpenFCoE] [PATCH] Add a missing spin_unlock() found when a BLS frame was mis-delivered.
Date: Fri, 30 Nov 2007 10:35:32 -0800	[thread overview]
Message-ID: <475057F4.9020509@eykholt.com> (raw)

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(-)

diff --git a/drivers/scsi/ofc/openfc/openfc_scsi.c b/drivers/scsi/ofc/openfc/openfc_scsi.c
index 86e6895..5fa0ad6 100644
--- a/drivers/scsi/ofc/openfc/openfc_scsi.c
+++ b/drivers/scsi/ofc/openfc/openfc_scsi.c
@@ -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

             reply	other threads:[~2007-11-30 18:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-30 18:35 Joe Eykholt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-12-05  0:51 [OpenFCoE PATCH] Add a missing spin_unlock() found when a BLS frame was mis-delivered Joe Eykholt
2007-12-05  0:56 ` Joe Eykholt
2007-12-05  1:30 Joe Eykholt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=475057F4.9020509@eykholt.com \
    --to=fcoe@eykholt.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox