svn commit: r194879 - head/sys/kern
Ulf Lilleengen
lulf at FreeBSD.org
Wed Jun 24 18:38:52 UTC 2009
Author: lulf
Date: Wed Jun 24 18:38:51 2009
New Revision: 194879
URL: http://svn.freebsd.org/changeset/base/194879
Log:
- Fix a bug where a FIFO vnode use count was increased twice, but only
decreased once.
MFC after: 1 week
Modified:
head/sys/kern/kern_descrip.c
Modified: head/sys/kern/kern_descrip.c
==============================================================================
--- head/sys/kern/kern_descrip.c Wed Jun 24 18:30:14 2009 (r194878)
+++ head/sys/kern/kern_descrip.c Wed Jun 24 18:38:51 2009 (r194879)
@@ -2741,7 +2741,6 @@ sysctl_kern_proc_ofiledesc(SYSCTL_HANDLE
case DTYPE_FIFO:
kif->kf_type = KF_TYPE_FIFO;
vp = fp->f_vnode;
- vref(vp);
break;
case DTYPE_KQUEUE:
More information about the svn-src-head
mailing list