Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/union Revert last two changes. Since union vnode priv...



details:   https://anonhg.NetBSD.org/src/rev/e73747d6cd39
branches:  trunk
changeset: 567067:e73747d6cd39
user:      wrstuden <wrstuden%NetBSD.org@localhost>
date:      Mon May 31 02:04:35 2004 +0000

description:
Revert last two changes. Since union vnode private data do not follow
layerfs guidelines, whenever layerfs_snapshot() does something, it
won't be correct for unionfs.

diffstat:

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

diffs (34 lines):

diff -r 6427da0e762e -r e73747d6cd39 sys/fs/union/union_vfsops.c
--- a/sys/fs/union/union_vfsops.c       Mon May 31 00:51:19 2004 +0000
+++ b/sys/fs/union/union_vfsops.c       Mon May 31 02:04:35 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: union_vfsops.c,v 1.21 2004/05/30 09:48:37 tron Exp $   */
+/*     $NetBSD: union_vfsops.c,v 1.22 2004/05/31 02:04:35 wrstuden 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.21 2004/05/30 09:48:37 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: union_vfsops.c,v 1.22 2004/05/31 02:04:35 wrstuden Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -93,7 +93,6 @@
 #include <sys/stat.h>
 
 #include <fs/union/union.h>
-#include <miscfs/genfs/layer_extern.h>
 
 int union_mount __P((struct mount *, const char *, void *, struct nameidata *,
                     struct proc *));
@@ -639,6 +638,6 @@
        NULL,
        NULL,                           /* vfs_mountroot */
        union_checkexp,
-       layerfs_snapshot,
+       (int (*)(struct mount *, struct vnode *, struct timespec *)) eopnotsupp,
        union_vnodeopv_descs,
 };



Home | Main Index | Thread Index | Old Index