From: Taral <taral@taral.net>
To: linux-kernel@vger.kernel.org
Subject: [BUG] Missing wake_up in drivers/scsi/sg.c
Date: Mon, 8 Oct 2001 04:03:48 -0500 [thread overview]
Message-ID: <20011008040348.A2857@taral.net> (raw)
drivers/scsi/sg.c:319 (sg_open) (2.4.10-ac4) reads:
if (flags & O_EXCL) sdp->exclude = 0; /* undo if error */
but this variable is linked to a waitlist. Should this not read thus?
if (flags & O_EXCL) {
sdp->exclude = 0;
wake_up_interruptible(&sdp->o_excl_wait);
}
It reads this way in sg_release.
--
Taral <taral@taral.net>
This message is digitally signed. Please PGP encrypt mail to me.
"Any technology, no matter how primitive, is magic to those who don't
understand it." -- Florence Ambrose
reply other threads:[~2001-10-08 9:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20011008040348.A2857@taral.net \
--to=taral@taral.net \
--cc=linux-kernel@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