Date: Mon, 14 Oct 2002 12:54:39 -0700 (PDT) From: Kirk McKusick <mckusick@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_subr.c Message-ID: <200210141954.g9EJsehB081650@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mckusick 2002/10/14 12:54:39 PDT
Modified files:
sys/kern vfs_subr.c
Log:
When scanning the freelist looking for candidate vnodes to recycle,
be sure to exit the loop with vp == NULL if no candidates are found.
Formerly, this bug would cause the last vnode inspected to be used,
even if it was not available. The result was a panic "vn_finished_write:
neg cnt".
Sponsored by: DARPA & NAI Labs.
Revision Changes Path
1.415 +3 -4 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?200210141954.g9EJsehB081650>
