Source-Changes-HG archive

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

[src/trunk]: src/sys/miscfs/genfs Since we don't put layered device nodes in ...



details:   https://anonhg.NetBSD.org/src/rev/493038db64aa
branches:  trunk
changeset: 477642:493038db64aa
user:      wrstuden <wrstuden%NetBSD.org@localhost>
date:      Mon Oct 25 23:34:31 1999 +0000

description:
Since we don't put layered device nodes in the spechash hash chains,
initialize vp->v_hashchain to NULL.

diffstat:

 sys/miscfs/genfs/layer_subr.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 62cafc2cce45 -r 493038db64aa sys/miscfs/genfs/layer_subr.c
--- a/sys/miscfs/genfs/layer_subr.c     Mon Oct 25 22:47:20 1999 +0000
+++ b/sys/miscfs/genfs/layer_subr.c     Mon Oct 25 23:34:31 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: layer_subr.c,v 1.3 1999/07/15 21:30:32 wrstuden Exp $  */
+/*     $NetBSD: layer_subr.c,v 1.4 1999/10/25 23:34:31 wrstuden Exp $  */
 
 /*
  * Copyright (c) 1999 National Aeronautics & Space Administration
@@ -190,6 +190,7 @@
        if (vp->v_type == VBLK || vp->v_type == VCHR) {
                MALLOC(vp->v_specinfo, struct specinfo *,
                    sizeof(struct specinfo), M_VNODE, M_WAITOK);
+               vp->v_hashchain = NULL;
                vp->v_rdev = lowervp->v_rdev;
        }
 



Home | Main Index | Thread Index | Old Index