cvs commit: src/sys/kern vfs_subr.c
Jeff Roberson
jeff at FreeBSD.org
Tue Dec 16 09:05:06 PST 2003
jeff 2003/12/16 09:05:05 PST
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
Log:
- When doing a forced unmount, VFS attempts to keep VCHR vnodes valid by
reassigning their v_ops field to specfs, detaching from the mountpoint, etc.
However, this is not sufficient. If we vclean() the vnode the pages owned
by the vnode are lost, potentially while buffers reference them. Implement
parts of vclean() seperately in vgonechrl() so that the pages and bufs
associated with a device vnode are not destroyed while in use.
Revision Changes Path
1.474 +28 -1 src/sys/kern/vfs_subr.c
More information about the cvs-src
mailing list