summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db/libpthread_db.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2006-02-06 10:19:50 +0000
committerjeff <jeff@FreeBSD.org>2006-02-06 10:19:50 +0000
commit4c912bf42a10c895b13ee13c4eb058800b35f9c4 (patch)
tree30f6eae36feb6e956e739224d6eb90e611ac8989 /lib/libthread_db/libpthread_db.c
parent05c6b40c0d429243e6e525bbfe4fd2e75fc84a69 (diff)
downloadFreeBSD-src-4c912bf42a10c895b13ee13c4eb058800b35f9c4.zip
FreeBSD-src-4c912bf42a10c895b13ee13c4eb058800b35f9c4.tar.gz
- 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
Diffstat (limited to 'lib/libthread_db/libpthread_db.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud