Module Name: src
Committed By: hannken
Date: Mon Dec 5 11:12:11 UTC 2011
Modified Files:
src/sys/fs/union: union_vfsops.c
Log Message:
The union file system is as stable as other layered file systems so
no longer print a warning to the console.
Gnats is waiting ...
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/fs/union/union_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/fs/union/union_vfsops.c
diff -u src/sys/fs/union/union_vfsops.c:1.66 src/sys/fs/union/union_vfsops.c:1.67
--- src/sys/fs/union/union_vfsops.c:1.66 Wed Nov 23 19:39:11 2011
+++ src/sys/fs/union/union_vfsops.c Mon Dec 5 11:12:10 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: union_vfsops.c,v 1.66 2011/11/23 19:39:11 hannken Exp $ */
+/* $NetBSD: union_vfsops.c,v 1.67 2011/12/05 11:12:10 hannken 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.66 2011/11/23 19:39:11 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: union_vfsops.c,v 1.67 2011/12/05 11:12:10 hannken Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -101,9 +101,6 @@ MODULE(MODULE_CLASS_VFS, union, NULL);
VFS_PROTOS(union);
static struct sysctllog *union_sysctl_log;
-static const char *warn_user =
- "WARNING: the union file system is experimental\n"
- "WARNING: it can cause crashes and file system corruption\n";
/*
* Mount union filesystem
@@ -151,11 +148,6 @@ union_mount(struct mount *mp, const char
goto bad;
}
- if (warn_user != NULL) {
- printf("%s", warn_user);
- warn_user = NULL;
- }
-
lowerrootvp = mp->mnt_vnodecovered;
vref(lowerrootvp);