Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2001 08:53:43 -0800 (PST)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/nfsserver nfs_serv.c
Message-ID:  <200112041653.fB4GrhD96936@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2001/12/04 08:53:43 PST

  Modified files:
    sys/nfsserver        nfs_serv.c 
  Log:
  When VOP_SYMLINK fails, the value of *vpp is junk, so we must NULL
  out nd.ni_vp to prevent the resource cleanup code at the end of
  nfsrv_symlink from trying to vrele it. This fixes a "vrele: negative
  ref cnt" panic that can occur when a symlink is attempted on an NFS
  filesystem with no free space. Found locally, but the symptoms
  correspond to those in the PR referenced below.
  
  PR:             kern/26878
  MFC after:      3 days
  
  Revision  Changes    Path
  1.109     +2 -3      src/sys/nfsserver/nfs_serv.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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