Date: Fri, 19 Sep 2003 17:21:48 -0700 (PDT) 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: <200309200021.h8K0LmMS081401@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2003/09/19 17:21:48 PDT
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
Log:
- In reassignbuf() don't unlock vp and lock newvp if they are the same.
Doing so creates a race where the buf is on neither list.
- Only vfree() in an error case in vclean() if VSHOULDFREE() thinks we
should.
- Convert the error case in vclean() to INVARIANTS from DIAGNOSTIC as this
really should not happen and is fast to check.
Revision Changes Path
1.458 +11 -6 src/sys/kern/vfs_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309200021.h8K0LmMS081401>
