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



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

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

diffs (26 lines):

diff -r 0c7ce51f63f9 -r f0ccb2efe47d sys/miscfs/nullfs/null_vnops.c
--- a/sys/miscfs/nullfs/null_vnops.c    Sun May 30 15:09:30 2004 +0000
+++ b/sys/miscfs/nullfs/null_vnops.c    Sun May 30 15:09:35 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: null_vnops.c,v 1.28 2004/01/25 18:06:49 hannken Exp $  */
+/*     $NetBSD: null_vnops.c,v 1.28.2.1 2004/05/30 15:09:35 tron Exp $ */
 
 /*
  * Copyright (c) 1999 National Aeronautics & Space Administration
@@ -203,7 +203,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: null_vnops.c,v 1.28 2004/01/25 18:06:49 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: null_vnops.c,v 1.28.2.1 2004/05/30 15:09:35 tron Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -236,6 +236,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