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/umapfs Pull up revision 1.26 (requested by w...



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

description:
Pull up revision 1.26 (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/umapfs/umap_vnops.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 4983e948de10 -r 0c7ce51f63f9 sys/miscfs/umapfs/umap_vnops.c
--- a/sys/miscfs/umapfs/umap_vnops.c    Sun May 30 15:09:24 2004 +0000
+++ b/sys/miscfs/umapfs/umap_vnops.c    Sun May 30 15:09:30 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umap_vnops.c,v 1.24 2004/01/25 18:06:49 hannken Exp $  */
+/*     $NetBSD: umap_vnops.c,v 1.24.2.1 2004/05/30 15:09:30 tron Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umap_vnops.c,v 1.24 2004/01/25 18:06:49 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umap_vnops.c,v 1.24.2.1 2004/05/30 15:09:30 tron Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -84,6 +84,7 @@
        { &vop_open_desc,       layer_open },
        { &vop_setattr_desc,    layer_setattr },
        { &vop_access_desc,     layer_access },
+       { &vop_remove_desc,     layer_remove },
 
        { &vop_bwrite_desc,     layer_bwrite },
        { &vop_bmap_desc,       layer_bmap },



Home | Main Index | Thread Index | Old Index