Date: Sat, 4 Oct 2003 17:02:42 -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: <200310050002.h9502g2e048236@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2003/10/04 17:02:42 PDT
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
Log:
- Move the xlock 'locking' code into vx_lock() and vx_unlock().
- Create a new function, vgonechrl(), which performs vgone for an in-use
character device. Move the code from vflush() that did this into
vgonechrl().
- Hold the xlock across the entirety of vgonel() and vgonechrl() so that
at no point will an invalid vnode exist on any list without XLOCK set.
- Move the xlock code out of vclean() now that it is in the vgone*()
functions.
Revision Changes Path
1.461 +54 -21 src/sys/kern/vfs_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310050002.h9502g2e048236>
