Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/fs/puffs/puffs_vnops.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/fs/puffs/puffs_vnops.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.186 retrieving revision 1.187 diff -u -p -r1.186 -r1.187 --- src/sys/fs/puffs/puffs_vnops.c 2014/09/11 07:59:14 1.186 +++ src/sys/fs/puffs/puffs_vnops.c 2014/09/30 10:15:03 1.187 @@ -1,4 +1,4 @@ -/* $NetBSD: puffs_vnops.c,v 1.186 2014/09/11 07:59:14 manu Exp $ */ +/* $NetBSD: puffs_vnops.c,v 1.187 2014/09/30 10:15:03 hannken Exp $ */ /* * Copyright (c) 2005, 2006, 2007 Antti Kantee. All Rights Reserved. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: puffs_vnops.c,v 1.186 2014/09/11 07:59:14 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: puffs_vnops.c,v 1.187 2014/09/30 10:15:03 hannken Exp $"); #include #include @@ -1428,7 +1428,7 @@ puffs_vnop_reclaim(void *v) if (__predict_true(VPTOPP(vp)->pn_parent != NULL)) vrele(VPTOPP(vp)->pn_parent); else - KASSERT(vp->v_vflag & VV_ROOT); + KASSERT(vp->v_type == VNON || (vp->v_vflag & VV_ROOT)); } puffs_putvnode(vp);