Page MenuHomeFreeBSD

D47391.id146130.diff
No OneTemporary

D47391.id146130.diff

diff --git a/sys/compat/linuxkpi/common/src/linux_compat.c b/sys/compat/linuxkpi/common/src/linux_compat.c
--- a/sys/compat/linuxkpi/common/src/linux_compat.c
+++ b/sys/compat/linuxkpi/common/src/linux_compat.c
@@ -772,7 +772,7 @@
}
/* hold on to the vnode - used for fstat() */
- vhold(filp->f_vnode);
+ vref(filp->f_vnode);
/* release the file from devfs */
finit(file, filp->f_mode, DTYPE_DEV, filp, &linuxfileops);
@@ -1504,7 +1504,7 @@
error = -OPW(file, td, release(filp->f_vnode, filp));
funsetown(&filp->f_sigio);
if (filp->f_vnode != NULL)
- vdrop(filp->f_vnode);
+ vrele(filp->f_vnode);
linux_drop_fop(ldev);
ldev = filp->f_cdev;
if (ldev != NULL)

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 28, 11:04 AM (1 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14533194
Default Alt Text
D47391.id146130.diff (686 B)

Event Timeline