diff options
author | jhb <jhb@FreeBSD.org> | 2003-03-26 18:29:44 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-03-26 18:29:44 +0000 |
commit | 72a1a2619caba266ac8c65f94a7a2a271537ccfe (patch) | |
tree | 8df222945b41b84d620040663b2014b3df286910 /sys/i386/linux/linux_sysvec.c | |
parent | ea2de33c6b4550c7150502ddb8a80e975c5e09ab (diff) | |
download | FreeBSD-src-72a1a2619caba266ac8c65f94a7a2a271537ccfe.zip FreeBSD-src-72a1a2619caba266ac8c65f94a7a2a271537ccfe.tar.gz |
Add a cleanup function to destroy the osname_lock and call it on module
unload.
Submitted by: gallatin
Reported by: Martin Karlsson <mk-freebsd@bredband.net>
Diffstat (limited to 'sys/i386/linux/linux_sysvec.c')
-rw-r--r-- | sys/i386/linux/linux_sysvec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c index c324f82..f8cc108 100644 --- a/sys/i386/linux/linux_sysvec.c +++ b/sys/i386/linux/linux_sysvec.c @@ -925,6 +925,7 @@ linux_elf_modevent(module_t mod, int type, void *data) linux_ioctl_unregister_handler(*lihp); if (bootverbose) printf("Linux ELF exec handler removed\n"); + linux_mib_destroy(); } else printf("Could not deinstall ELF interpreter entry\n"); break; |