Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sys/miscfs/overlay Pull up revision 1.12 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/d3a6f5058f22
branches:  netbsd-2-0
changeset: 561241:d3a6f5058f22
user:      tron <tron%NetBSD.org@localhost>
date:      Sun May 30 15:09:41 2004 +0000

description:
Pull up revision 1.12 (requested by wrstuden in ticket #424):
Since VOP_UPCALL() has been a long time in coming, add this partial
fix for layered-file-removal. It will work for the case of accessing
and deleting a file through the layered file system. Accessing via
the layer and deleting on the underlying still won't work, nor will
accessing via complicated structures (like two umap layers over a
given file systems).
We still need VOP_UPCALL(), but this is better than things were before.
This patch has been discussed off & on for a while. This incarnation
was tested by hannken at netbsd dot org.

diffstat:

 sys/miscfs/overlay/overlay_vnops.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r f0ccb2efe47d -r d3a6f5058f22 sys/miscfs/overlay/overlay_vnops.c
--- a/sys/miscfs/overlay/overlay_vnops.c        Sun May 30 15:09:35 2004 +0000
+++ b/sys/miscfs/overlay/overlay_vnops.c        Sun May 30 15:09:41 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: overlay_vnops.c,v 1.11 2004/01/25 18:06:49 hannken Exp $       */
+/*     $NetBSD: overlay_vnops.c,v 1.11.2.1 2004/05/30 15:09:41 tron Exp $      */
 
 /*
  * Copyright (c) 1999, 2000 National Aeronautics & Space Administration
@@ -67,7 +67,7 @@
  *
  * Ancestors:
  *     @(#)lofs_vnops.c        1.2 (Berkeley) 6/18/92
- *     $Id: overlay_vnops.c,v 1.11 2004/01/25 18:06:49 hannken Exp $
+ *     $Id: overlay_vnops.c,v 1.11.2.1 2004/05/30 15:09:41 tron Exp $
  *     ...and...
  *     @(#)null_vnodeops.c 1.20 92/07/07 UCLA Ficus project
  */
@@ -126,7 +126,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: overlay_vnops.c,v 1.11 2004/01/25 18:06:49 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: overlay_vnops.c,v 1.11.2.1 2004/05/30 15:09:41 tron Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -159,6 +159,7 @@
        { &vop_inactive_desc, layer_inactive },
        { &vop_reclaim_desc,  layer_reclaim },
        { &vop_print_desc,    layer_print },
+       { &vop_remove_desc,   layer_remove },
 
        { &vop_open_desc,     layer_open },     /* mount option handling */
 



Home | Main Index | Thread Index | Old Index