clone_cleanup() doesn't

Ed Schouten ed at 80386.nl
Sun Aug 16 18:09:12 UTC 2009


* Andrew Gallatin <gallatin at cs.duke.edu> wrote:
> FWIW, the fix to my problem was to add D_NEEDMINOR to
> my cdevsw d_flags, to restore the same behavior as FreeBSD 5/6/7

Yes. INVARIANTS should trigger a kernel panic if you use clone_create()
without D_NEEDMINOR. I think you probably didn't have it enabled, which
means it dies later on.

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090816/e64d6a92/attachment.pgp


More information about the freebsd-current mailing list