mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 06:44:31 +00:00
Remove cdevsw when unloading the vn module.
Submitted by: dunno... :-(
This commit is contained in:
parent
958210ab0d
commit
f778f0c79c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70758
|
@ -783,6 +783,7 @@ vn_modevent(module_t mod, int type, void *data)
|
|||
vnclear(vn);
|
||||
free(vn, M_DEVBUF);
|
||||
}
|
||||
cdevsw_remove(&vn_cdevsw);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue