Date: Wed, 12 Mar 2003 23:22:54 -0800 (PST) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_subr.c Message-ID: <200303130722.h2D7MsNZ002932@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2003/03/12 23:22:54 PST
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
Log:
- Remove a dead check for bp->b_vp == vp in vtruncbuf(). This has not been
possible for some time.
- Lock the buf before accessing fields. This should very rarely be locked.
- Assert that B_DELWRI is set after we acquire the buf. This should always
be the case now.
Revision Changes Path
1.437 +17 -14 src/sys/kern/vfs_subr.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303130722.h2D7MsNZ002932>
