cvs commit: src/sys/kern vfs_subr.c
Jeff Roberson
jeff at FreeBSD.org
Sat Oct 4 17:02:43 PDT 2003
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
More information about the cvs-src
mailing list