Date: Mon, 12 Feb 2007 22:53:01 +0000 (UTC) From: Mike Pritchard <mpp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_vnops.c Message-ID: <200702122253.l1CMr11C039398@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mpp 2007-02-12 22:53:01 UTC FreeBSD src repository Modified files: sys/kern vfs_vnops.c Log: Add a VNASSERT to vn_close to detect if v_writecount is going to become negative. This will detect the underflow when it happens, instead of having it discovered when the vnode is taken off the freelist, long after the offending process is long gone. Revision Changes Path 1.248 +4 -1 src/sys/kern/vfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702122253.l1CMr11C039398>