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:
_______________________________________________
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