Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/union The union file system is as stable as other lay...



details:   https://anonhg.NetBSD.org/src/rev/5ddc791a4a6c
branches:  trunk
changeset: 771881:5ddc791a4a6c
user:      hannken <hannken%NetBSD.org@localhost>
date:      Mon Dec 05 11:12:10 2011 +0000

description:
The union file system is as stable as other layered file systems so
no longer print a warning to the console.

Gnats is waiting ...

diffstat:

 sys/fs/union/union_vfsops.c |  12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diffs (40 lines):

diff -r f0380a158431 -r 5ddc791a4a6c sys/fs/union/union_vfsops.c
--- a/sys/fs/union/union_vfsops.c       Mon Dec 05 10:43:24 2011 +0000
+++ b/sys/fs/union/union_vfsops.c       Mon Dec 05 11:12:10 2011 +0000
@@ -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 @@
 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 @@
                goto bad;
        }
 
-       if (warn_user != NULL) {
-               printf("%s", warn_user);
-               warn_user = NULL;
-       }
-
        lowerrootvp = mp->mnt_vnodecovered;
        vref(lowerrootvp);
 



Home | Main Index | Thread Index | Old Index