svn commit: r194881 - head/sys/kern

Ulf Lilleengen lulf at FreeBSD.org
Wed Jun 24 18:44:39 UTC 2009


Author: lulf
Date: Wed Jun 24 18:44:38 2009
New Revision: 194881
URL: http://svn.freebsd.org/changeset/base/194881

Log:
  - Similar to the previous commit, but for CURRENT: Fix a bug where a FIFO vnode
    use count was increased twice, but only decreased once.

Modified:
  head/sys/kern/kern_descrip.c

Modified: head/sys/kern/kern_descrip.c
==============================================================================
--- head/sys/kern/kern_descrip.c	Wed Jun 24 18:42:21 2009	(r194880)
+++ head/sys/kern/kern_descrip.c	Wed Jun 24 18:44:38 2009	(r194881)
@@ -2994,7 +2994,6 @@ sysctl_kern_proc_filedesc(SYSCTL_HANDLER
 		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-all mailing list