Date: Fri, 16 May 2003 12:46:52 -0700 (PDT) From: Don Lewis <truckman@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: <200305161946.h4GJkqeG073421@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
truckman 2003/05/16 12:46:52 PDT
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
Log:
Detect that a vnode has been reclaimed while vflush() was waiting to lock
the vnode and restart the loop. Vflush() is vulnerable since it does not
hold a reference to the vnode and it holds no other locks while waiting
for the vnode lock. The vnode will no longer be on the list when the
loop is restarted.
Approved by: re (rwatson)
Revision Changes Path
1.449 +11 -0 src/sys/kern/vfs_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305161946.h4GJkqeG073421>
