Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145020816
D47391.1777197775.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
686 B
Referenced Files
None
Subscribers
None
D47391.1777197775.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
Sun, Apr 26, 10:02 AM (11 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28432333
Default Alt Text
D47391.1777197775.diff (686 B)
Attached To
Mode
D47391: Fix "vrefact: wrong use count 0" with DRM
Attached
Detach File
Event Timeline
Log In to Comment