Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/union union doesn't use layerfs (avoids panic in kern...



details:   https://anonhg.NetBSD.org/src/rev/53510078ddb5
branches:  trunk
changeset: 756063:53510078ddb5
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jul 05 21:27:08 2010 +0000

description:
union doesn't use layerfs (avoids panic in kernel bootstrap when
union is compiled in but none of the layer-using file systems are).

diffstat:

 sys/fs/union/union_vfsops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 01de339563ea -r 53510078ddb5 sys/fs/union/union_vfsops.c
--- a/sys/fs/union/union_vfsops.c       Mon Jul 05 20:57:19 2010 +0000
+++ b/sys/fs/union/union_vfsops.c       Mon Jul 05 21:27:08 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: union_vfsops.c,v 1.62 2010/06/30 13:10:35 hannken Exp $        */
+/*     $NetBSD: union_vfsops.c,v 1.63 2010/07/05 21:27:08 pooka Exp $  */
 
 /*
  * Copyright (c) 1994 The Regents of the University of California.
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: union_vfsops.c,v 1.62 2010/06/30 13:10:35 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: union_vfsops.c,v 1.63 2010/07/05 21:27:08 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -96,7 +96,7 @@
 
 #include <fs/union/union.h>
 
-MODULE(MODULE_CLASS_VFS, union, "layerfs");
+MODULE(MODULE_CLASS_VFS, union, NULL);
 
 VFS_PROTOS(union);
 



Home | Main Index | Thread Index | Old Index