Page MenuHomeFreeBSD

D23178.diff
No OneTemporary

D23178.diff

Index: head/sys/compat/linuxkpi/common/src/linux_compat.c
===================================================================
--- head/sys/compat/linuxkpi/common/src/linux_compat.c
+++ head/sys/compat/linuxkpi/common/src/linux_compat.c
@@ -1498,6 +1498,9 @@
KASSERT(file_count(filp) == 0,
("File refcount(%d) is not zero", file_count(filp)));
+ if (td == NULL)
+ td = curthread;
+
error = 0;
filp->f_flags = file->f_flag;
linux_set_current(td);

File Metadata

Mime Type
text/plain
Expires
Fri, Feb 14, 6:12 PM (20 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16646194
Default Alt Text
D23178.diff (462 B)

Event Timeline