lkml.org 
[lkml]   [2001]   [Oct]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 8 Oct 2001 04:03:48 -0500
FromTaral <>
Subject[BUG] Missing wake_up in drivers/scsi/sg.c
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:04    [from the cache]
©2003-2008