summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_vfsops.c
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>1998-09-29 23:15:25 +0000
committermckusick <mckusick@FreeBSD.org>1998-09-29 23:15:25 +0000
commit44e40659a639144e40f811fb2f1462a6fc70f152 (patch)
tree3bf69fd8442d2444b9001fd5b7b78b11b87f987f /sys/nfsclient/nfs_vfsops.c
parenta037faba698d8538a0e264aa9eaff8aa82406084 (diff)
downloadFreeBSD-src-44e40659a639144e40f811fb2f1462a6fc70f152.zip
FreeBSD-src-44e40659a639144e40f811fb2f1462a6fc70f152.tar.gz
Do not need (or want) to take a reference on an NFS file that
is being deleted due to an forcible unmount. The problem is that vgone calls vclean() which then calls calls nfs_inactive() with VXLOCK set on the vnode. Nfs_inactive() was calling vget() to get a reference on the vnode, which in turn hung on VXLOCK. Nfs_inactive() now checks v_usecount to make sure that the vnode is not coming from vclean() before it does a vget().
Diffstat (limited to 'sys/nfsclient/nfs_vfsops.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud