Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106222755
D47391.id146130.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
686 B
Referenced Files
None
Subscribers
None
D47391.id146130.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D47391: Fix "vrefact: wrong use count 0" with DRM
Attached
Detach File
Event Timeline
Log In to Comment