Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ffs Due to popular demand, change vinsheadfree to un...



details:   https://anonhg.NetBSD.org/src/rev/70952a745a28
branches:  trunk
changeset: 493960:70952a745a28
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Tue Jun 27 23:51:22 2000 +0000

description:
Due to popular demand, change vinsheadfree to ungetnewvnode to make
the name clearer. No functional change.

diffstat:

 sys/ufs/ffs/ffs_vfsops.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9525b9e2203d -r 70952a745a28 sys/ufs/ffs/ffs_vfsops.c
--- a/sys/ufs/ffs/ffs_vfsops.c  Tue Jun 27 23:39:17 2000 +0000
+++ b/sys/ufs/ffs/ffs_vfsops.c  Tue Jun 27 23:51:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_vfsops.c,v 1.68 2000/06/27 23:39:17 fvdl Exp $     */
+/*     $NetBSD: ffs_vfsops.c,v 1.69 2000/06/27 23:51:22 fvdl Exp $     */
 
 /*
  * Copyright (c) 1989, 1991, 1993, 1994
@@ -1024,7 +1024,7 @@
         */
        do {
                if ((*vpp = ufs_ihashget(dev, ino, LK_EXCLUSIVE)) != NULL) {
-                       vinsheadfree(vp);
+                       ungetnewvnode(vp);
                        return (0);
                }
        } while (lockmgr(&ufs_hashlock, LK_EXCLUSIVE|LK_SLEEPFAIL, 0));



Home | Main Index | Thread Index | Old Index