Module Name: src
Committed By: christos
Date: Mon Oct 28 23:32:15 UTC 2019
Modified Files:
src/sys/compat/common: compat_90_mod.c
Log Message:
Don't ignore EBUSY from disestablish or we can crash by unloading busy
syscalls.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/common/compat_90_mod.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/compat/common/compat_90_mod.c
diff -u src/sys/compat/common/compat_90_mod.c:1.1 src/sys/compat/common/compat_90_mod.c:1.2
--- src/sys/compat/common/compat_90_mod.c:1.1 Sun Sep 22 18:59:38 2019
+++ src/sys/compat/common/compat_90_mod.c Mon Oct 28 19:32:15 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_90_mod.c,v 1.1 2019/09/22 22:59:38 christos Exp $ */
+/* $NetBSD: compat_90_mod.c,v 1.2 2019/10/28 23:32:15 christos Exp $ */
/*-
* Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_90_mod.c,v 1.1 2019/09/22 22:59:38 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_90_mod.c,v 1.2 2019/10/28 23:32:15 christos Exp $");
#include <sys/systm.h>
#include <sys/module.h>
@@ -50,18 +50,14 @@ int
compat_90_init(void)
{
- vfs_syscalls_90_init();
-
- return 0;
+ return vfs_syscalls_90_init();
}
int
compat_90_fini(void)
{
- vfs_syscalls_90_fini();
-
- return 0;
+ return vfs_syscalls_90_fini();
}
MODULE(MODULE_CLASS_EXEC, compat_90, NULL);