1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/sys/nfsserver
Ian Dowse eec7ff8aa6 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
2001-12-04 16:53:42 +00:00
..
nfs_serv.c When VOP_SYMLINK fails, the value of *vpp is junk, so we must NULL 2001-12-04 16:53:42 +00:00
nfs_srvcache.c Unwind some more macros. NFSMADV() was kinda silly since it was right 2001-09-28 04:37:08 +00:00
nfs_srvsock.c Fix a leftover client comment, long line fix. 2001-11-15 23:49:02 +00:00
nfs_srvsubs.c Unwind some more macros. NFSMADV() was kinda silly since it was right 2001-09-28 04:37:08 +00:00
nfs_syscalls.c Give struct socket structures a ref counting interface similar to 2001-11-17 03:07:11 +00:00
nfs.h Unwind some more macros. NFSMADV() was kinda silly since it was right 2001-09-28 04:37:08 +00:00
nfsm_subs.h Unwind some more macros. NFSMADV() was kinda silly since it was right 2001-09-28 04:37:08 +00:00
nfsrvcache.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00
nfsrvstats.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00