tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: closing pad(4) before audio(4) causes panic



At Thu, 13 Feb 2020 18:05:51 +0000,
Taylor R Campbell wrote:
> > According to audio.c comment, vdevgone() calls close().  But it is
> > not called actually.
> 
> vdevgone calls VOP_REVOKE on the vnode, which _used_ to call
> audio_close, but it does essentially nothing for cloning file
> descriptors as we have used since sys/dev/audio.c r1.302.

It makes me clear!

> Instead of vdevgone,
<snip>

Thank you for detailed explanation and review.
I do it step by step.

Thanks,
---
Tetsuya Isaki <isaki%pastel-flower.jp@localhost / isaki%NetBSD.org@localhost>


Home | Main Index | Thread Index | Old Index