diff options
author | lulf <lulf@FreeBSD.org> | 2009-06-24 18:38:51 +0000 |
---|---|---|
committer | lulf <lulf@FreeBSD.org> | 2009-06-24 18:38:51 +0000 |
commit | 6c60345b340131c66e68bbef66500d1f0eefb556 (patch) | |
tree | 18e554a6bbea24b15ccf7d75a424ec14cb72e352 /sys/kern | |
parent | a5268d56f65b258f44e20334592225f3556cdc5c (diff) | |
download | FreeBSD-src-6c60345b340131c66e68bbef66500d1f0eefb556.zip FreeBSD-src-6c60345b340131c66e68bbef66500d1f0eefb556.tar.gz |
- Fix a bug where a FIFO vnode use count was increased twice, but only
decreased once.
MFC after: 1 week
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_descrip.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index 30bb84a..ba0b3ec 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -2741,7 +2741,6 @@ sysctl_kern_proc_ofiledesc(SYSCTL_HANDLER_ARGS) case DTYPE_FIFO: kif->kf_type = KF_TYPE_FIFO; vp = fp->f_vnode; - vref(vp); break; case DTYPE_KQUEUE: |