Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/miscfs/specfs Revert my last change, it's not The Right ...



details:   https://anonhg.NetBSD.org/src/rev/9f4e9c75828d
branches:  trunk
changeset: 753901:9f4e9c75828d
user:      ahoka <ahoka%NetBSD.org@localhost>
date:      Tue Apr 13 11:54:43 2010 +0000

description:
Revert my last change, it's not The Right Thing [tm].

diffstat:

 sys/miscfs/specfs/spec_vnops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 26513c680e67 -r 9f4e9c75828d sys/miscfs/specfs/spec_vnops.c
--- a/sys/miscfs/specfs/spec_vnops.c    Tue Apr 13 11:53:18 2010 +0000
+++ b/sys/miscfs/specfs/spec_vnops.c    Tue Apr 13 11:54:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spec_vnops.c,v 1.128 2010/04/13 01:15:56 ahoka Exp $   */
+/*     $NetBSD: spec_vnops.c,v 1.129 2010/04/13 11:54:43 ahoka Exp $   */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spec_vnops.c,v 1.128 2010/04/13 01:15:56 ahoka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spec_vnops.c,v 1.129 2010/04/13 11:54:43 ahoka Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
@@ -460,7 +460,7 @@
                        
                        /* Try to autoload device module */
                        mutex_enter(&module_lock);
-                       (void) module_autoload(name, MODULE_CLASS_ANY);
+                       (void) module_autoload(name, MODULE_CLASS_DRIVER);
                        mutex_exit(&module_lock);
                } while (gen != module_gen);
 



Home | Main Index | Thread Index | Old Index