85f6230a1d
another process is in open() or stat() for the device node, then close() from the owning process does not result in cdevsw close method call. This fixes the pemanent "Device busy" seen. Changed the sndstat_lock from mutex to sx. This allows to extend the region covered by the lock, to include the uiomove() call in sndstat_read() and bufptr increment. This fixes the "panic: sbuf_put_byte called with finished or corrupt sbuf" seen. In collaboration with: kib MFC after: 1 week |
||
---|---|---|
.. | ||
isa | ||
macio | ||
midi | ||
pci | ||
pcm | ||
sbus | ||
usb | ||
chip.h | ||
clone.c | ||
clone.h | ||
driver.c | ||
unit.c | ||
unit.h | ||
version.h |