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/kern/vfs_subr.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/kern/vfs_subr.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.155.2.4 retrieving revision 1.155.2.5 diff -u -p -r1.155.2.4 -r1.155.2.5 --- src/sys/kern/vfs_subr.c 2002/01/10 20:00:20 1.155.2.4 +++ src/sys/kern/vfs_subr.c 2002/02/11 20:10:25 1.155.2.5 @@ -1,4 +1,4 @@ -/* $NetBSD: vfs_subr.c,v 1.155.2.4 2002/01/10 20:00:20 thorpej Exp $ */ +/* $NetBSD: vfs_subr.c,v 1.155.2.5 2002/02/11 20:10:25 jdolecek Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -82,7 +82,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.155.2.4 2002/01/10 20:00:20 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.155.2.5 2002/02/11 20:10:25 jdolecek Exp $"); #include "opt_ddb.h" #include "opt_compat_netbsd.h" @@ -1571,6 +1571,7 @@ vclean(vp, flags, p) simple_unlock(&vp->v_interlock); } + KASSERT(vp->v_uobj.uo_npages == 0); cache_purge(vp); /*