Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 1998 16:15:25 -0700 (PDT)
From:      Kirk McKusick <mckusick@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/sys/nfs nfs_node.c
Message-ID:  <199809292315.QAA29074@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
mckusick    1998/09/29 16:15:25 PDT

  Modified files:
    sys/nfs              nfs_node.c 
  Log:
  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().
  
  Revision  Changes    Path
  1.28      +12 -6     src/sys/nfs/nfs_node.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809292315.QAA29074>