Module Name: src
Committed By: jld
Date: Sat Apr 10 18:14:54 UTC 2010
Modified Files:
src/sys/miscfs/nullfs: null_vfsops.c
Log Message:
Change the nullfs module's actual name to "null", to match the name
it's installed under and the name of the filesystem.
Fixes PR kern/43110.
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/miscfs/nullfs/null_vfsops.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/miscfs/nullfs/null_vfsops.c
diff -u src/sys/miscfs/nullfs/null_vfsops.c:1.79 src/sys/miscfs/nullfs/null_vfsops.c:1.80
--- src/sys/miscfs/nullfs/null_vfsops.c:1.79 Sat Mar 14 15:36:22 2009
+++ src/sys/miscfs/nullfs/null_vfsops.c Sat Apr 10 18:14:54 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: null_vfsops.c,v 1.79 2009/03/14 15:36:22 dsl Exp $ */
+/* $NetBSD: null_vfsops.c,v 1.80 2010/04/10 18:14:54 jld Exp $ */
/*
* Copyright (c) 1999 National Aeronautics & Space Administration
@@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: null_vfsops.c,v 1.79 2009/03/14 15:36:22 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: null_vfsops.c,v 1.80 2010/04/10 18:14:54 jld Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -90,7 +90,7 @@
#include <miscfs/nullfs/null.h>
#include <miscfs/genfs/layer_extern.h>
-MODULE(MODULE_CLASS_VFS, nullfs, "layerfs");
+MODULE(MODULE_CLASS_VFS, null, "layerfs");
VFS_PROTOS(nullfs);
@@ -286,7 +286,7 @@
};
static int
-nullfs_modcmd(modcmd_t cmd, void *arg)
+null_modcmd(modcmd_t cmd, void *arg)
{
int error;