Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/udf Move comment related to the sysctl_createv() in S...
details: https://anonhg.NetBSD.org/src/rev/3af14136fe30
branches: trunk
changeset: 971125:3af14136fe30
user: reinoud <reinoud%NetBSD.org@localhost>
date: Tue Apr 14 12:47:44 2020 +0000
description:
Move comment related to the sysctl_createv() in SYSCTL_SETUP() from the old
place to the new place too.
diffstat:
sys/fs/udf/udf_vfsops.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (42 lines):
diff -r 8b478f7c36f6 -r 3af14136fe30 sys/fs/udf/udf_vfsops.c
--- a/sys/fs/udf/udf_vfsops.c Tue Apr 14 12:14:59 2020 +0000
+++ b/sys/fs/udf/udf_vfsops.c Tue Apr 14 12:47:44 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_vfsops.c,v 1.79 2020/04/13 19:23:18 ad Exp $ */
+/* $NetBSD: udf_vfsops.c,v 1.80 2020/04/14 12:47:44 reinoud Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_vfsops.c,v 1.79 2020/04/13 19:23:18 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_vfsops.c,v 1.80 2020/04/14 12:47:44 reinoud Exp $");
#endif /* not lint */
@@ -167,6 +167,11 @@
*/
#define UDF_VERBOSE_SYSCTLOPT 1
+/*
+ * XXX the "24" below could be dynamic, thereby eliminating one
+ * more instance of the "number to vfs" mapping problem, but
+ * "24" is the order as taken from sys/mount.h
+ */
SYSCTL_SETUP(udf_sysctl_setup, "udf sysctl")
{
const struct sysctlnode *node;
@@ -197,11 +202,6 @@
error = vfs_attach(&udf_vfsops);
if (error != 0)
break;
- /*
- * XXX the "24" below could be dynamic, thereby eliminating one
- * more instance of the "number to vfs" mapping problem, but
- * "24" is the order as taken from sys/mount.h
- */
break;
case MODULE_CMD_FINI:
error = vfs_detach(&udf_vfsops);
Home |
Main Index |
Thread Index |
Old Index