VOP_REVOKE(vp, 0) should really be vgone(vp)
authorJan-Simon Pendry <pendry@ucbvax.Berkeley.EDU>
Thu, 11 May 1995 02:22:46 +0000 (18:22 -0800)
committerJan-Simon Pendry <pendry@ucbvax.Berkeley.EDU>
Thu, 11 May 1995 02:22:46 +0000 (18:22 -0800)
SCCS-vsn: sys/miscfs/fdesc/fdesc_vfsops.c 8.9
SCCS-vsn: sys/miscfs/kernfs/kernfs_vfsops.c 8.9
SCCS-vsn: sys/miscfs/nullfs/null_vfsops.c 8.6
SCCS-vsn: sys/miscfs/portal/portal_vfsops.c 8.10
SCCS-vsn: sys/miscfs/procfs/procfs_vnops.c 8.16
SCCS-vsn: sys/miscfs/umapfs/umap_vfsops.c 8.7
SCCS-vsn: sys/miscfs/union/union_vfsops.c 8.18

usr/src/sys/miscfs/fdesc/fdesc_vfsops.c
usr/src/sys/miscfs/kernfs/kernfs_vfsops.c
usr/src/sys/miscfs/nullfs/null_vfsops.c
usr/src/sys/miscfs/portal/portal_vfsops.c
usr/src/sys/miscfs/procfs/procfs_vnops.c
usr/src/sys/miscfs/umapfs/umap_vfsops.c
usr/src/sys/miscfs/union/union_vfsops.c

index e2b20a7..f6e998a 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 1992, 1993
+ * Copyright (c) 1992, 1993, 1995
  *     The Regents of the University of California.  All rights reserved.
  *
  * This code is derived from software donated to Berkeley by
  *     The Regents of the University of California.  All rights reserved.
  *
  * This code is derived from software donated to Berkeley by
@@ -7,7 +7,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)fdesc_vfsops.c      8.8 (Berkeley) %G%
+ *     @(#)fdesc_vfsops.c      8.9 (Berkeley) %G%
  *
  * $Id: fdesc_vfsops.c,v 1.9 1993/04/06 15:28:33 jsp Exp $
  */
  *
  * $Id: fdesc_vfsops.c,v 1.9 1993/04/06 15:28:33 jsp Exp $
  */
@@ -111,7 +111,7 @@ fdesc_unmount(mp, mntflags, p)
        /*
         * And blow it away for future re-use
         */
        /*
         * And blow it away for future re-use
         */
-       VOP_REVOKE(rootvp, 0);
+       vgone(rootvp);
        /*
         * Finally, throw away the fdescmount structure
         */
        /*
         * Finally, throw away the fdescmount structure
         */
index f441efa..53f14b2 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 1992, 1993
+ * Copyright (c) 1992, 1993, 1995
  *     The Regents of the University of California.  All rights reserved.
  *
  * This code is derived from software donated to Berkeley by
  *     The Regents of the University of California.  All rights reserved.
  *
  * This code is derived from software donated to Berkeley by
@@ -7,7 +7,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)kernfs_vfsops.c     8.8 (Berkeley) %G%
+ *     @(#)kernfs_vfsops.c     8.9 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -159,7 +159,7 @@ kernfs_unmount(mp, mntflags, p)
        /*
         * And blow it away for future re-use
         */
        /*
         * And blow it away for future re-use
         */
-       VOP_REVOKE(rootvp, 0);
+       vgone(rootvp);
        /*
         * Finally, throw away the kernfs_mount structure
         */
        /*
         * Finally, throw away the kernfs_mount structure
         */
index 65174e5..214986f 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 1992, 1993
+ * Copyright (c) 1992, 1993, 1995
  *     The Regents of the University of California.  All rights reserved.
  *
  * This code is derived from software donated to Berkeley by
  *     The Regents of the University of California.  All rights reserved.
  *
  * This code is derived from software donated to Berkeley by
@@ -7,7 +7,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)null_vfsops.c       8.5 (Berkeley) %G%
+ *     @(#)null_vfsops.c       8.6 (Berkeley) %G%
  *
  * @(#)lofs_vfsops.c   1.2 (Berkeley) 6/18/92
  * $Id: lofs_vfsops.c,v 1.9 1992/05/30 10:26:24 jsp Exp jsp $
  *
  * @(#)lofs_vfsops.c   1.2 (Berkeley) 6/18/92
  * $Id: lofs_vfsops.c,v 1.9 1992/05/30 10:26:24 jsp Exp jsp $
@@ -190,7 +190,7 @@ nullfs_unmount(mp, mntflags, p)
        /*
         * And blow it away for future re-use
         */
        /*
         * And blow it away for future re-use
         */
-       VOP_REVOKE(nullm_rootvp, 0);
+       vgone(nullm_rootvp);
        /*
         * Finally, throw away the null_mount structure
         */
        /*
         * Finally, throw away the null_mount structure
         */
index dc322f3..37168b5 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 1992, 1993
+ * Copyright (c) 1992, 1993, 1995
  *     The Regents of the University of California.  All rights reserved.
  *
  * This code is derived from software donated to Berkeley by
  *     The Regents of the University of California.  All rights reserved.
  *
  * This code is derived from software donated to Berkeley by
@@ -7,7 +7,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)portal_vfsops.c     8.9 (Berkeley) %G%
+ *     @(#)portal_vfsops.c     8.10 (Berkeley) %G%
  *
  * $Id: portal_vfsops.c,v 1.5 1992/05/30 10:25:27 jsp Exp jsp $
  */
  *
  * $Id: portal_vfsops.c,v 1.5 1992/05/30 10:25:27 jsp Exp jsp $
  */
@@ -156,7 +156,7 @@ portal_unmount(mp, mntflags, p)
        /*
         * And blow it away for future re-use
         */
        /*
         * And blow it away for future re-use
         */
-       VOP_REVOKE(rootvp, 0);
+       vgone(rootvp);
        /*
         * Shutdown the socket.  This will cause the select in the
         * daemon to wake up, and then the accept will get ECONNABORTED
        /*
         * Shutdown the socket.  This will cause the select in the
         * daemon to wake up, and then the accept will get ECONNABORTED
index 300b8d1..638b81b 100644 (file)
@@ -8,7 +8,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)procfs_vnops.c      8.15 (Berkeley) %G%
+ *     @(#)procfs_vnops.c      8.16 (Berkeley) %G%
  *
  * From:
  *     $Id: procfs_vnops.c,v 3.2 1993/12/15 09:40:17 jsp Exp $
  *
  * From:
  *     $Id: procfs_vnops.c,v 3.2 1993/12/15 09:40:17 jsp Exp $
@@ -193,7 +193,7 @@ procfs_bmap(ap)
  *
  * for procfs, check if the process is still
  * alive and if it isn't then just throw away
  *
  * for procfs, check if the process is still
  * alive and if it isn't then just throw away
- * the vnode by calling VOP_REVOKE().  this may
+ * the vnode by calling vgone().  this may
  * be overkill and a waste of time since the
  * chances are that the process will still be
  * there and PFIND is not free.
  * be overkill and a waste of time since the
  * chances are that the process will still be
  * there and PFIND is not free.
@@ -208,7 +208,7 @@ procfs_inactive(ap)
        struct pfsnode *pfs = VTOPFS(ap->a_vp);
 
        if (PFIND(pfs->pfs_pid) == 0)
        struct pfsnode *pfs = VTOPFS(ap->a_vp);
 
        if (PFIND(pfs->pfs_pid) == 0)
-               VOP_REVOKE(ap->a_vp);
+               vgone(ap->a_vp);
 
        return (0);
 }
 
        return (0);
 }
index b42e1d1..1bf7e95 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 1992, 1993
+ * Copyright (c) 1992, 1993, 1995
  *     The Regents of the University of California.  All rights reserved.
  *
  * This code is derived from software donated to Berkeley by
  *     The Regents of the University of California.  All rights reserved.
  *
  * This code is derived from software donated to Berkeley by
@@ -7,7 +7,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)umap_vfsops.c       8.6 (Berkeley) %G%
+ *     @(#)umap_vfsops.c       8.7 (Berkeley) %G%
  *
  * @(#)null_vfsops.c       1.5 (Berkeley) 7/10/92
  */
  *
  * @(#)null_vfsops.c       1.5 (Berkeley) 7/10/92
  */
@@ -231,7 +231,7 @@ umapfs_unmount(mp, mntflags, p)
        /*
         * And blow it away for future re-use
         */
        /*
         * And blow it away for future re-use
         */
-       VOP_REVOKE(umapm_rootvp, 0);
+       vgone(umapm_rootvp);
        /*
         * Finally, throw away the umap_mount structure
         */
        /*
         * Finally, throw away the umap_mount structure
         */
index 52b51e7..8657591 100644 (file)
@@ -1,6 +1,6 @@
 /*
 /*
- * Copyright (c) 1994 The Regents of the University of California.
- * Copyright (c) 1994 Jan-Simon Pendry.
+ * Copyright (c) 1994, 1995 The Regents of the University of California.
+ * Copyright (c) 1994, 1995 Jan-Simon Pendry.
  * All rights reserved.
  *
  * This code is derived from software donated to Berkeley by
  * All rights reserved.
  *
  * This code is derived from software donated to Berkeley by
@@ -8,7 +8,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)union_vfsops.c      8.17 (Berkeley) %G%
+ *     @(#)union_vfsops.c      8.18 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -304,7 +304,7 @@ union_unmount(mp, mntflags, p)
        /*
         * And blow it away for future re-use
         */
        /*
         * And blow it away for future re-use
         */
-       VOP_REVOKE(um_rootvp, 0);
+       vgone(um_rootvp);
        /*
         * Finally, throw away the union_mount structure
         */
        /*
         * Finally, throw away the union_mount structure
         */