[BUG] Missing wake_up in drivers/scsi/sg.c

Taral (taral@taral.net)
Mon, 8 Oct 2001 04:03:48 -0500


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/