cvs commit: src/sys/kern vfs_subr.c

From: Jeff Roberson <>
Date: Tue, 16 Dec 2003 09:05:05 -0800 (PST)
jeff        2003/12/16 09:05:05 PST

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_subr.c 
   - 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
Received on Tue Dec 16 2003 - 09:05:06 UTC