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/genfs Pull up revision 1.14 (requested by wr...



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

description:
Pull up revision 1.14 (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/genfs/layer_extern.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 9b9ad1adfd89 -r c2a0fa38984d sys/miscfs/genfs/layer_extern.h
--- a/sys/miscfs/genfs/layer_extern.h   Sun May 30 15:09:46 2004 +0000
+++ b/sys/miscfs/genfs/layer_extern.h   Sun May 30 15:09:52 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: layer_extern.h,v 1.11 2004/01/25 18:06:49 hannken Exp $        */
+/*     $NetBSD: layer_extern.h,v 1.11.2.1 2004/05/30 15:09:52 tron Exp $       */
 
 /*
  * Copyright (c) 1999 National Aeronautics & Space Administration
@@ -110,5 +110,6 @@
 int    layer_setattr __P((void *));
 int    layer_access __P((void *));
 int    layer_open __P((void *));
+int    layer_remove __P((void *));
 int    layer_getpages __P((void *));
 int    layer_putpages __P((void *));



Home | Main Index | Thread Index | Old Index