LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [BUG] Missing wake_up in drivers/scsi/sg.c
@ 2001-10-08  9:03 Taral
  0 siblings, 0 replies; only message in thread
From: Taral @ 2001-10-08  9:03 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-08  9:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-08  9:03 [BUG] Missing wake_up in drivers/scsi/sg.c Taral

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).