CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2009/05/14 04:49:00

Modified files:
        sys/isofs/udf  : udf_subr.c 

Log message:
Reset b_flags rather than just OR'ing in B_READ and B_RAW when
re-using a buf. Taken from the kern/subr_disk.c readdoslabel()
usage.

Avoids a loop in disksort() caused by trying to queue a buffer that is
already in cd->buf_queue. I can now 'disklabel cd0' with "Command
& Conquer 3: Kane's Wrath" in the drive and not hang the system.

Problem reported and fix tested by Jasper Valentij. Thanks!

Reply via email to