Files
freebsd/sys/dev/vn
Ian Dowse f722e7b989 Clean up properly when a `vn' module is kldunloaded to avoid panics
later. We now call cdesw_remove() to unregister the device, NULL
out any pointers to the vn_softc that exist in dev_t `si_drv1'
fields, and perform a destroy_dev() corresponding to the initial
make_dev().

This is not an MFC; vn(4) is no longer in -current.

PR:		kern/18270, i386/26049
Submitted by:	[email protected], [email protected]
Reviewed by:	phk
Approved by:	jkh
2001-03-26 16:58:47 +00:00
..