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.182 retrieving revision 1.183 diff -u -p -r1.182 -r1.183 --- src/sys/kern/vfs_subr.c 2002/10/29 12:31:24 1.182 +++ src/sys/kern/vfs_subr.c 2002/12/29 06:47:57 1.183 @@ -1,4 +1,4 @@ -/* $NetBSD: vfs_subr.c,v 1.182 2002/10/29 12:31:24 blymn Exp $ */ +/* $NetBSD: vfs_subr.c,v 1.183 2002/12/29 06:47:57 yamt Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -82,7 +82,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.182 2002/10/29 12:31:24 blymn Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.183 2002/12/29 06:47:57 yamt Exp $"); #include "opt_ddb.h" #include "opt_compat_netbsd.h" @@ -1376,10 +1376,15 @@ vref(vp) /* * Remove any vnodes in the vnode table belonging to mount point mp. * - * If MNT_NOFORCE is specified, there should not be any active ones, + * If FORCECLOSE is not specified, there should not be any active ones, * return error if any are found (nb: this is a user error, not a - * system error). If MNT_FORCE is specified, detach any active vnodes + * system error). If FORCECLOSE is specified, detach any active vnodes * that are found. + * + * If WRITECLOSE is set, only flush out regular file vnodes open for + * writing. + * + * SKIPSYSTEM causes any vnodes marked V_SYSTEM to be skipped. */ #ifdef DEBUG int busyprt = 0; /* print out busy vnodes */