Jeff Roberson 04f6d3effa - Add a ref count to the mount structure. Sleep for up to 3 seconds in
vfs_mount_destroy waiting for this ref to hit 0.  We don't print an
   error if we are rebooting as the root mount always retains some refernces
   by init proc.
 - Acquire a mnt ref for every vnode allocated to a mount point.  Drop this
   ref only once vdestroy() has been called and the mount has been freed.
 - No longer NULL the v_mount pointer in delmntque() so that we may release
   the ref after vgone() has been called.  This allows us to guarantee
   that the mount point structure will be valid until the last vnode has
   lost its last ref.
 - Fix a few places that rely on checking v_mount to detect recycling.

Sponsored by:	Isilon Systems, Inc.
MFC After:	1 week
2006-02-06 10:19:50 +00:00
..
2006-02-06 01:16:00 +00:00
2005-12-04 02:12:43 +00:00
2006-02-03 15:25:52 +00:00
2006-02-01 12:06:01 +00:00
2006-02-06 01:40:48 +00:00
2006-01-29 22:06:51 +00:00
2006-01-21 10:44:34 +00:00
2006-01-21 10:44:34 +00:00
2006-02-02 11:14:13 +00:00
2006-01-30 16:32:08 +00:00