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:
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to