diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2001-01-07 19:03:14 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2001-01-07 19:03:14 +0000 |
commit | f4900f3cb47fca10909d195035de50130c63451f (patch) | |
tree | 95af7e1dccce68006fb7c7c4a8f948fe2dd8d424 /sys/dev/vn | |
parent | fc589915cc363c0b916f561836207f329fa1a8a9 (diff) | |
download | FreeBSD-src-f4900f3cb47fca10909d195035de50130c63451f.zip FreeBSD-src-f4900f3cb47fca10909d195035de50130c63451f.tar.gz |
Remove cdevsw when unloading the vn module.
Submitted by: dunno... :-(
Diffstat (limited to 'sys/dev/vn')
-rw-r--r-- | sys/dev/vn/vn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c index 6e9904d..570b926 100644 --- a/sys/dev/vn/vn.c +++ b/sys/dev/vn/vn.c @@ -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; |